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

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


http://hg.python.org/cpython/rev/6739b9ab7ced
changeset:   69639:6739b9ab7ced
branch:      2.7
parent:      69636:60d4a00ec3b3
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
@@ -906,7 +906,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