[Python-checkins] cpython (3.1): #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.

ezio.melotti python-checkins at python.org
Wed Apr 27 23:53:59 CEST 2011


http://hg.python.org/cpython/rev/fd1f47a57ba2
changeset: 69640:fd1f47a57ba2
branch: 3.1
parent: 69627:aca7a3091c9b
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Thu Apr 28 00:48:46 2011 +0300
summary:
 #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
files:
 Doc/c-api/init.rst | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -892,7 +892,7 @@
 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()
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /