Closed
Description
Documentation
As of Python 3.10.4, the "Standard Exceptions" table has the following entries with footnotes:
- PyExc_ReferenceError : ReferenceError : (2)
- PyExc_WindowsError : (alias for PyExc_OSError) : (3)
but there is no footnote 3 and footnote 2 reads
"Only defined on Windows; protect code that uses this by testing that the preprocessor macro MS_WINDOWS is defined."
(As a related side point, the documentation for PyErr_SetFromWindowsErr (on the same page) refers to WindowsError and PyExc_WindowsError, but perhaps these should be updated to OSError and PyExc_OSError instead.)