8000 gh-93738: Documentation C syntax (:c:data:`0` -> ``0``) (GH-97771) · python/cpython@e34b00c · GitHub
[go: up one dir, main page]

Skip to content

Commit e34b00c

Browse files
gh-93738: Documentation C syntax (:c:data:0 -> 0) (GH-97771)
:c:data:`0` -> ``0`` (cherry picked from commit 5e997cf) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 789d5bc commit e34b00c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ For convenience, some of these functions will always return a
189189
.. c:function:: PyObject* PyErr_SetFromWindowsErr(int ierr)
190190
191191
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`
192+
*ierr* of ``0``, the error code returned by a call to :c:func:`GetLastError`
193193
is used instead. It calls the Win32 function :c:func:`FormatMessage` to retrieve
194194
the Windows description of error code given by *ierr* or :c:func:`GetLastError`,
195195
then it constructs a tuple object whose first item is the *ierr* value and whose

0 commit comments

Comments
 (0)
0