summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
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)
commitcd12746ce914b91d713e42e3fdabc85489ecd880 (patch)
tree4ccbe5ed3c82653a004945d8bc3ba23433288a3e /Doc/c-api
parent1f9eb155b4a417f9c596a08541cde4be473e9741 (diff)
downloadcpython-cd12746ce914b91d713e42e3fdabc85489ecd880.zip
cpython-cd12746ce914b91d713e42e3fdabc85489ecd880.tar.gz
cpython-cd12746ce914b91d713e42e3fdabc85489ecd880.tar.bz2
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
Diffstat (limited to 'Doc/c-api')
-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 27408a4..8b41c44 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -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()