diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-05 11:19:48 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-05 11:19:48 (GMT) |
commit | d92ab0806d38cc592f303545d649821daa802997 (patch) | |
tree | 6e724ee7dd6d916b9fdf5af302537d0d20955b30 /Doc | |
parent | fc5ed800d82a1d2ceaee0121cdffd9d191bfd7ff (diff) | |
download | cpython-d92ab0806d38cc592f303545d649821daa802997.zip cpython-d92ab0806d38cc592f303545d649821daa802997.tar.gz cpython-d92ab0806d38cc592f303545d649821daa802997.tar.bz2 |
#11997: fix typo in init.rst.
Diffstat (limited to 'Doc')
-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 7e9d44c..b2fa3ee 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -867,7 +867,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. |