]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the parent of WindowsError - both the comments in this source file, and the previ...
authorMark Hammond <mhammond@skippinet.com.au>
Tue, 15 Aug 2000 00:37:32 +0000 (00:37 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Tue, 15 Aug 2000 00:37:32 +0000 (00:37 +0000)
Python/exceptions.c

index d9bf0a01703a0bf704154a188da7a152ec6dfa3c..1d7fac46ce621153d204279c0434462dbfebddb7 100644 (file)
@@ -883,7 +883,7 @@ static struct {
  {"IOError", &PyExc_IOError, &PyExc_EnvironmentError, IOError__doc__},
  {"OSError", &PyExc_OSError, &PyExc_EnvironmentError, OSError__doc__},
 #ifdef MS_WINDOWS
- {"WindowsError", &PyExc_WindowsError, &PyExc_EnvironmentError,
+ {"WindowsError", &PyExc_WindowsError, &PyExc_OSError,
   WindowsError__doc__},
 #endif /* MS_WINDOWS */
  {"EOFError",     &PyExc_EOFError,     0, EOFError__doc__},