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.

This commit is contained in:
Mark Hammond 2000-08-15 00:37:32 +00:00
parent 041307d95c
commit 557a044f74
1 changed files with 1 additions and 1 deletions

View 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__},