Commit d92ab080 authored by Ezio Melotti's avatar Ezio Melotti

#11997: fix typo in init.rst.

parent fc5ed800
...@@ -867,7 +867,7 @@ by such objects may affect the wrong (sub-)interpreter's dictionary of loaded ...@@ -867,7 +867,7 @@ by such objects may affect the wrong (sub-)interpreter's dictionary of loaded
modules. modules.
Also note that combining this functionality with :cfunc:`PyGILState_\*` APIs 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. 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 It is highly recommended that you don't switch sub-interpreters between a pair
of matching :cfunc:`PyGILState_Ensure` and :cfunc:`PyGILState_Release` calls. of matching :cfunc:`PyGILState_Ensure` and :cfunc:`PyGILState_Release` calls.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment