File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,11 +165,11 @@ Context variables
165165-----------------
166166
167167In 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
173173empty :class: `~contextvars.Context() `.
174174
175175
You can’t perform that action at this time.
0 commit comments