From: Charles-François Natali Date: Wed, 15 Apr 2015 18:30:38 +0000 (+0100) Subject: Fix PyGILState_GetThisThreadState() prototype in the API documentation. X-Git-Tag: v2.7.10rc1~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d12c80c91f4bad809a610fe8df03c1b1e65c9fa;p=thirdparty%2FPython%2Fcpython.git Fix PyGILState_GetThisThreadState() prototype in the API documentation. --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 0c1c7141c2a3..d78b43dfed2d 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