Skip to content

Commit ada4b42

Browse files
committed
More specific note on PyExc_WindowsError
1 parent f928b13 commit ada4b42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/c-api/exceptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,8 +1336,8 @@ The following are a compatibility aliases to :c:data:`PyExc_OSError`.
13361336
Notes:
13371337
13381338
.. [win]
1339-
Only defined on Windows; protect code that uses this by testing that the
1340-
preprocessor macro ``MS_WINDOWS`` is defined.
1339+
:c:var:`!PyExc_WindowsError` is only defined on Windows; protect code that
1340+
uses this by testing that the preprocessor macro ``MS_WINDOWS`` is defined.
13411341
13421342
13431343
Warning types

0 commit comments

Comments
 (0)