Skip to content

Commit 80ae46b

Browse files
Update Doc/glossary.rst
Co-authored-by: Victor Stinner <[email protected]>
1 parent 3b2bed8 commit 80ae46b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/glossary.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ Glossary
136136

137137
A :term:`thread state` that is stored in the :term:`current thread state`.
138138
If no thread state is attached, then the :term:`current thread state` is ``NULL``.
139-
Attempting to call Python's C API without an attached thread state will result in a fatal error.
139+
Attempting to call Python's C API without an attached thread state will result
140+
in a fatal error or an undefined behavior.
140141

141142
A thread state can be attached and detached explicitly by the user, or
142143
implicitly by the interpreter in between calls. For example, an attached

0 commit comments

Comments
 (0)