]> 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 e78add1041ae8fd958871afba6ef6c2e33f8bc30..7e9d44ca60d08b1ef5a30155df8c7d747c341971 100644 (file)
@@ -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()