From: Ezio Melotti Date: Wed, 27 Apr 2011 21:48:46 +0000 (+0300) Subject: #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. X-Git-Tag: v2.7.2rc1~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd12746ce914b91d713e42e3fdabc85489ecd880;p=python #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 27408a4176..8b41c440a9 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()