We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ef4419 + d92ab08 commit f77b74dCopy full SHA for f77b74d
1 file changed
Doc/c-api/init.rst
@@ -883,7 +883,7 @@ by such objects may affect the wrong (sub-)interpreter's dictionary of loaded
883
modules.
884
885
Also note that combining this functionality with :c:func:`PyGILState_\*` APIs
886
-is delicate, become these APIs assume a bijection between Python thread states
+is delicate, because these APIs assume a bijection between Python thread states
887
and OS-level threads, an assumption broken by the presence of sub-interpreters.
888
It is highly recommended that you don't switch sub-interpreters between a pair
889
of matching :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` calls.
0 commit comments