Skip to content

Commit 51da563

Browse files
Update Doc/howto/free-threading-python.rst
Co-authored-by: Kumar Aditya <[email protected]>
1 parent c2c90cb commit 51da563

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/howto/free-threading-python.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ Context variables
165165
-----------------
166166

167167
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
168+
is set to true by default which causes threads created with
170169
:class:`threading.Thread` to start with a copy of the
171170
:class:`~contextvars.Context()` of the caller of
172-
:meth:`~threading.Thread.start`. If the flag is false, threads start with an
171+
:meth:`~threading.Thread.start`. In the default GIL-enabled build, the flag
172+
defaults to false so threads start with an
173173
empty :class:`~contextvars.Context()`.
174174

175175

0 commit comments

Comments
 (0)