diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-12-19 23:26:38 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-12-19 23:26:38 (GMT) |
commit | 0639d5aeb61d6b7b0e1e1cbbdd7dd89a420a47f5 (patch) | |
tree | e10c3b719b557d04b2e66354c2e64f564f0a934e /Doc/c-api/init.rst | |
parent | 480e8e38a077280313ea66476350a06ee5d7ca5d (diff) | |
download | cpython-0639d5aeb61d6b7b0e1e1cbbdd7dd89a420a47f5.zip cpython-0639d5aeb61d6b7b0e1e1cbbdd7dd89a420a47f5.tar.gz cpython-0639d5aeb61d6b7b0e1e1cbbdd7dd89a420a47f5.tar.bz2 |
Merged revisions 76904 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line
#7388: "python".capitalize() in the Doc
........
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r-- | Doc/c-api/init.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 2e2aa64..650aec2 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -808,7 +808,7 @@ pointer and a void argument. .. index:: single: setcheckinterval() (in module sys) Every check interval, when the global interpreter lock is released and -reacquired, python will also call any such provided functions. This can be used +reacquired, Python will also call any such provided functions. This can be used for example by asynchronous IO handlers. The notification can be scheduled from 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 @@ -826,7 +826,7 @@ perform any Python API calls. exception. The notification function won't be interrupted to perform another asynchronous notification recursively, but it can still be interrupted to switch threads if the global interpreter lock is released, for example, if it - calls back into python code. + calls back into Python code. This function returns 0 on success in which case the notification has been scheduled. Otherwise, for example if the notification buffer is full, it |