1 parent fc5ed80 commit d92ab08Copy full SHA for d92ab08
1 file changed
Doc/c-api/init.rst
@@ -867,7 +867,7 @@ by such objects may affect the wrong (sub-)interpreter's dictionary of loaded
867
modules.
868
869
Also note that combining this functionality with :cfunc:`PyGILState_\*` APIs
870
-is delicate, become these APIs assume a bijection between Python thread states
+is delicate, because these APIs assume a bijection between Python thread states
871
and OS-level threads, an assumption broken by the presence of sub-interpreters.
872
It is highly recommended that you don't switch sub-interpreters between a pair
873
of matching :cfunc:`PyGILState_Ensure` and :cfunc:`PyGILState_Release` calls.
0 commit comments