diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-05 11:21:55 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-05 11:21:55 (GMT) |
commit | 868fc875916556e3e65b3da83d2356ee1f681f71 (patch) | |
tree | 28c84b2c9bc9a608b825dfb39efa05e57af9b324 /Doc/c-api | |
parent | 9cc432d93799652cb21ac4473d6875ed3de01937 (diff) | |
parent | f77b74dd1beacb69b6853303aa70a0de64cd71ae (diff) | |
download | cpython-868fc875916556e3e65b3da83d2356ee1f681f71.zip cpython-868fc875916556e3e65b3da83d2356ee1f681f71.tar.gz cpython-868fc875916556e3e65b3da83d2356ee1f681f71.tar.bz2 |
#11997: merge with 3.2.
Diffstat (limited to 'Doc/c-api')
-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 e50c417..1806867 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -883,7 +883,7 @@ by such objects may affect the wrong (sub-)interpreter's dictionary of loaded modules. Also note that combining this functionality with :c:func:`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 :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` calls. |