Skip to content

Commit

Permalink
gh-93738: Documentation C syntax (:c:data:0 -> 0) (#97771)
Browse files Browse the repository at this point in the history
:c:data:`0` -> ``0``
  • Loading branch information
AA-Turner authored Oct 4, 2022
1 parent 0601684 commit 5e997cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ For convenience, some of these functions will always return a
.. c:function:: PyObject* PyErr_SetFromWindowsErr(int ierr)
This is a convenience function to raise :exc:`WindowsError`. If called with
*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`
is used instead. It calls the Win32 function :c:func:`FormatMessage` to retrieve
the Windows description of error code given by *ierr* or :c:func:`GetLastError`,
then it constructs a tuple object whose first item is the *ierr* value and whose
Expand Down

0 comments on commit 5e997cf

Please sign in to comment.