cpython: fd1f47a57ba2 (original) (raw)
Mercurial > cpython
changeset 69640:fd1f47a57ba2 3.1
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. [#11942]
Ezio Melotti ezio.melotti@gmail.com | |
---|---|
date | Thu, 28 Apr 2011 00:48:46 +0300 |
parents | aca7a3091c9b |
children | 119c7219b1ac 4c5babbf7a73 |
files | Doc/c-api/init.rst |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Doc/c-api/init.rst 2 |
line wrap: on
line diff
--- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -892,7 +892,7 @@ a worker thread and the actual call than 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()