diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2015-04-15 18:30:38 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2015-04-15 18:30:38 (GMT) |
commit | 6d12c80c91f4bad809a610fe8df03c1b1e65c9fa (patch) | |
tree | 0ebd3c2d28d49901c18ba98f4f5462940508ccaf /Doc/c-api | |
parent | 1bc53c6e0bae375a58286654d2e75126b11217c6 (diff) | |
download | cpython-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.rst | 2 |
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 |