From: Mark Hammond Date: Tue, 15 Aug 2000 00:37:32 +0000 (+0000) Subject: Fix the parent of WindowsError - both the comments in this source file, and the previ... X-Git-Tag: v2.0b1~458 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=557a044f74fffcb54ba65dd179953e8afe7d8485;p=thirdparty%2FPython%2Fcpython.git Fix the parent of WindowsError - both the comments in this source file, and the previous exceptions.py have WindowsError as a sub-class of OSError. --- diff --git a/Python/exceptions.c b/Python/exceptions.c index d9bf0a01703a..1d7fac46ce62 100644 --- a/Python/exceptions.c +++ b/Python/exceptions.c @@ -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__},