Skip to content

Commit f95033b

Browse files
committed
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
1 parent 9a42793 commit f95033b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ a worker thread and the actual call than made at the earliest convenience by the
892892
main thread where it has possession of the global interpreter lock and can
893893
perform any Python API calls.
894894

895-
.. cfunction:: void Py_AddPendingCall(int (*func)(void *), void *arg)
895+
.. cfunction:: int Py_AddPendingCall(int (*func)(void *), void *arg)
896896

897897
.. index:: single: Py_AddPendingCall()
898898

0 commit comments

Comments
 (0)