diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-05-05 11:59:59 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-05-05 11:59:59 (GMT) |
commit | 6c9f8c7e4c24dfb0d1fe335ca4477393085a4628 (patch) | |
tree | 746a674625df8d21110d804578d1e4fa6d0f9d0d | |
parent | 0372e106841e2d641556b6f5146d59cbe189534f (diff) | |
parent | 868fc875916556e3e65b3da83d2356ee1f681f71 (diff) | |
download | cpython-6c9f8c7e4c24dfb0d1fe335ca4477393085a4628.zip cpython-6c9f8c7e4c24dfb0d1fe335ca4477393085a4628.tar.gz cpython-6c9f8c7e4c24dfb0d1fe335ca4477393085a4628.tar.bz2 |
Merged changes.
-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. |