From: Ezio Melotti Date: Thu, 5 May 2011 11:19:48 +0000 (+0300) Subject: #11997: fix typo in init.rst. X-Git-Tag: v2.7.2rc1~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe12aa67fc93ddc97fce2ecb856eef6545efd98b;p=thirdparty%2FPython%2Fcpython.git #11997: fix typo in init.rst. --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 8b41c440a95e..9354e3c6da91 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -881,7 +881,7 @@ by such objects may affect the wrong (sub-)interpreter's dictionary of loaded modules. Also note that combining this functionality with :cfunc:`PyGILState_\*` APIs -is delicate, become these APIs assume a bijection between Python thread states +is delicate, because these APIs assume a bijection between Python thread states and OS-level threads, an assumption broken by the presence of sub-interpreters. It is highly recommended that you don't switch sub-interpreters between a pair of matching :cfunc:`PyGILState_Ensure` and :cfunc:`PyGILState_Release` calls.