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.
1 parent 792a5ce commit 09917c0Copy full SHA for 09917c0
Doc/c-api/init.rst
@@ -1858,12 +1858,13 @@ pointer and a void pointer argument.
1858
.. c:function:: int Py_MakePendingCalls(void)
1859
1860
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``.
+ interpreter.
1863
1864
This function returns ``0`` on success, and returns ``-1`` with an exception
1865
set on failure.
1866
-
+
+ If this is not called in the main thread of the main
1867
+ interpreter, this function does nothing and returns ``0``.
1868
The caller must hold an :term:`attached thread state`.
1869
1870
.. versionadded:: 3.1
0 commit comments