mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#11997: fix typo in init.rst.
This commit is contained in:
parent
fc5ed800d8
commit
d92ab0806d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue