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 9a42793 commit f95033bCopy full SHA for f95033b
1 file changed
Doc/c-api/init.rst
@@ -892,7 +892,7 @@ a worker thread and the actual call than made at the earliest convenience by the
892
main thread where it has possession of the global interpreter lock and can
893
perform any Python API calls.
894
895
-.. cfunction:: void Py_AddPendingCall(int (*func)(void *), void *arg)
+.. cfunction:: int Py_AddPendingCall(int (*func)(void *), void *arg)
896
897
.. index:: single: Py_AddPendingCall()
898
0 commit comments