Skip to content

Commit 09917c0

Browse files
Update Doc/c-api/init.rst
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 792a5ce commit 09917c0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/c-api/init.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,12 +1858,13 @@ pointer and a void pointer argument.
18581858
.. c:function:: int Py_MakePendingCalls(void)
18591859
18601860
Execute all pending calls. This is usually executed automatically by the
1861-
interpreter. If this is not called in the main thread of the main
1862-
interpreter, this function does nothing and returns ``0``.
1861+
interpreter.
18631862
18641863
This function returns ``0`` on success, and returns ``-1`` with an exception
18651864
set on failure.
1866-
1865+
1866+
If this is not called in the main thread of the main
1867+
interpreter, this function does nothing and returns ``0``.
18671868
The caller must hold an :term:`attached thread state`.
18681869
18691870
.. versionadded:: 3.1

0 commit comments

Comments
 (0)