]> granicus.if.org Git - python/commitdiff
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
authorEzio Melotti <ezio.melotti@gmail.com>
Wed, 27 Apr 2011 21:48:46 +0000 (00:48 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Wed, 27 Apr 2011 21:48:46 +0000 (00:48 +0300)
Doc/c-api/init.rst

index 27408a41766bf120aea0c37e7547e0c8e93b5c11..8b41c440a95e5b4d04047a5b72bc982486f5605d 100644 (file)
@@ -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()