From f95033ba445169b5456abb339f084cc5665c35cd Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 28 Apr 2011 00:48:46 +0300 Subject: [PATCH] #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. --- Doc/c-api/init.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index e78add1041a..7e9d44ca60d 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()