Mercurial > cpython-lru_cache-weakref
diff Python/exceptions.c @ 13973:4e28ca345cfe legacy-trunk
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.
| author | Mark Hammond <mhammond@skippinet.com.au> |
|---|---|
| date | Tue, 15 Aug 2000 00:37:32 +0000 |
| parents | 6a5314a6c2c2 |
| children | 7834a113ce24 |
line wrap: on
line diff
--- a/Python/exceptions.c Mon Aug 14 23:06:37 2000 +0000 +++ b/Python/exceptions.c Tue Aug 15 00:37:32 2000 +0000 @@ -883,7 +883,7 @@ {"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__},
