From 6d12c80c91f4bad809a610fe8df03c1b1e65c9fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Wed, 15 Apr 2015 19:30:38 +0100 Subject: [PATCH] Fix PyGILState_GetThisThreadState() prototype in the API documentation. --- Doc/c-api/init.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 0c1c7141c2a..d78b43dfed2 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