diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-05 11:21:18 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-05 11:21:18 (GMT) |
commit | f77b74dd1beacb69b6853303aa70a0de64cd71ae (patch) | |
tree | c6fac2b97b127d7689f22a6e2743c3306abde4aa /Doc | |
parent | 3ef4419dc3c44e65598307857a13c39cd15c60e1 (diff) | |
parent | d92ab0806d38cc592f303545d649821daa802997 (diff) | |
download | cpython-f77b74dd1beacb69b6853303aa70a0de64cd71ae.zip cpython-f77b74dd1beacb69b6853303aa70a0de64cd71ae.tar.gz cpython-f77b74dd1beacb69b6853303aa70a0de64cd71ae.tar.bz2 |
#11997: merge with 3.1.
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 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. |