mirror of https://github.com/python/cpython
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
This commit is contained in:
parent
1f9eb155b4
commit
cd12746ce9
|
@ -906,7 +906,7 @@ a worker thread and the actual call than made at the earliest convenience by the
|
|||
main thread where it has possession of the global interpreter lock and can
|
||||
perform any Python API calls.
|
||||
|
||||
.. cfunction:: void Py_AddPendingCall(int (*func)(void *), void *arg)
|
||||
.. cfunction:: int Py_AddPendingCall(int (*func)(void *), void *arg)
|
||||
|
||||
.. index:: single: Py_AddPendingCall()
|
||||
|
||||
|
|
Loading…
Reference in New Issue