We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0
1 parent 789d5bc commit e34b00cCopy full SHA for e34b00c
Doc/c-api/exceptions.rst
@@ -189,7 +189,7 @@ For convenience, some of these functions will always return a
189
.. c:function:: PyObject* PyErr_SetFromWindowsErr(int ierr)
190
191
This is a convenience function to raise :exc:`WindowsError`. If called with
192
- *ierr* of :c:data:`0`, the error code returned by a call to :c:func:`GetLastError`
+ *ierr* of ``0``, the error code returned by a call to :c:func:`GetLastError`
193
is used instead. It calls the Win32 function :c:func:`FormatMessage` to retrieve
194
the Windows description of error code given by *ierr* or :c:func:`GetLastError`,
195
then it constructs a tuple object whose first item is the *ierr* value and whose
0 commit comments