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 | fe12aa67fc93ddc97fce2ecb856eef6545efd98b (patch) | |
tree | dd1c87583210db8c1f74983e335a1378520aa35b | |
parent | a436e713b6fe188138b51eccbc4212ad4781b459 (diff) | |
download | cpython-fe12aa67fc93ddc97fce2ecb856eef6545efd98b.zip cpython-fe12aa67fc93ddc97fce2ecb856eef6545efd98b.tar.gz cpython-fe12aa67fc93ddc97fce2ecb856eef6545efd98b.tar.bz2 |
#11997: fix typo in init.rst.
-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 8b41c44..9354e3c 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. |