summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-04-27 21:48:46 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-04-27 21:48:46 (GMT)
commitf95033ba445169b5456abb339f084cc5665c35cd (patch)
tree607b6eda6f52b732b2c2b59ad0c5b4b7de3e7dfe /Doc/c-api/init.rst
parent9a42793761ddedc59f03a5fe0f0150e11676713f (diff)
downloadcpython-f95033ba445169b5456abb339f084cc5665c35cd.zip
cpython-f95033ba445169b5456abb339f084cc5665c35cd.tar.gz
cpython-f95033ba445169b5456abb339f084cc5665c35cd.tar.bz2
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index e78add1..7e9d44c 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -892,7 +892,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()