summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorCharles-François Natali <cf.natali@gmail.com>2015-04-15 18:30:38 (GMT)
committerCharles-François Natali <cf.natali@gmail.com>2015-04-15 18:30:38 (GMT)
commit6d12c80c91f4bad809a610fe8df03c1b1e65c9fa (patch)
tree0ebd3c2d28d49901c18ba98f4f5462940508ccaf /Doc/c-api
parent1bc53c6e0bae375a58286654d2e75126b11217c6 (diff)
downloadcpython-6d12c80c91f4bad809a610fe8df03c1b1e65c9fa.zip
cpython-6d12c80c91f4bad809a610fe8df03c1b1e65c9fa.tar.gz
cpython-6d12c80c91f4bad809a610fe8df03c1b1e65c9fa.tar.bz2
Fix PyGILState_GetThisThreadState() prototype in the API documentation.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 0c1c714..d78b43d 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -642,7 +642,7 @@ with sub-interpreters:
.. 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