File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1248,9 +1248,9 @@ code, or when embedding the Python interpreter:
12481248
12491249 Set the :term:`current thread state` to *tstate*, and return
12501250 the old value.
1251-
1251+
12521252 If there is an :term:`attached thread state` for the current
1253- thread, it will be detached. Upon returning from this function,
1253+ thread, it will be detached. Upon returning from this function,
12541254 *tstate* will become :term:`attached <attached thread state>` instead
12551255 if it's not ``NULL``. If it is ``NULL``, then the :term:`current thread state`
12561256 will be ``NULL``.
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ Glossary
145145 block, and then re-attached when :c:macro: `Py_END_ALLOW_THREADS ` is reached.
146146
147147 On most builds of Python, having an attached thread state means that the
148- caller holds the :term: `GIL ` for the current interpreter.
148+ caller holds the :term: `GIL ` for the current interpreter.
149149
150150 attribute
151151 A value associated with an object which is usually referenced by name
@@ -353,7 +353,7 @@ Glossary
353353 A per-thread :c:data: `PyThreadState ` pointer for the current thread.
354354 The pointer might be ``NULL ``, in which case Python code should not
355355 get executed.
356-
356+
357357 If the current thread state is non-``NULL ``, then the :term: `thread state `
358358 that it points to is considered to be :term: `attached <attached thread state> `.
359359
You can’t perform that action at this time.
0 commit comments