]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix PyGILState_GetThisThreadState() prototype in the API documentation.
authorCharles-François Natali <cf.natali@gmail.com>
Wed, 15 Apr 2015 18:30:38 +0000 (19:30 +0100)
committerCharles-François Natali <cf.natali@gmail.com>
Wed, 15 Apr 2015 18:30:38 +0000 (19:30 +0100)
Doc/c-api/init.rst

index 0c1c7141c2a3e9685d1b8b21c3cb9cafd1f67b8c..d78b43dfed2d8eccf42a8c468f93c4d4c0ceb8fe 100644 (file)
@@ -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