[Python-checkins] cpython (2.7): Fix PyGILState_GetThisThreadState() prototype in the API documentation.
charles-francois.natali
python-checkins at python.org
Wed Apr 15 20:30:55 CEST 2015
https://hg.python.org/cpython/rev/5576c8240963
changeset: 95675:5576c8240963
branch: 2.7
parent: 95644:22790c4f3b16
user: Charles-François Natali <cf.natali at gmail.com>
date: Wed Apr 15 19:30:38 2015 +0100
summary:
Fix PyGILState_GetThisThreadState() prototype in the API documentation.
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
@@ -642,7 +642,7 @@
.. versionadded:: 2.3
-.. c:function:: PyThreadState PyGILState_GetThisThreadState()
+.. c:function:: PyThreadState* PyGILState_GetThisThreadState()
Get the current thread state for this thread. May return ``NULL`` if no
GILState API has been used on the current thread. Note that the main thread
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list