We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c90cb commit 51da563Copy full SHA for 51da563
Doc/howto/free-threading-python.rst
@@ -165,11 +165,11 @@ Context variables
165
-----------------
166
167
In the free-threaded build, the flag :data:`~sys.flags.thread_inherit_context`
168
-is set to true by default. In the default GIL-enabled build, the flag
169
-defaults to false. This will cause threads created with
+is set to true by default which causes threads created with
170
:class:`threading.Thread` to start with a copy of the
171
:class:`~contextvars.Context()` of the caller of
172
-:meth:`~threading.Thread.start`. If the flag is false, threads start with an
+:meth:`~threading.Thread.start`. In the default GIL-enabled build, the flag
+defaults to false so threads start with an
173
empty :class:`~contextvars.Context()`.
174
175
0 commit comments