Skip to content

Commit c05be67

Browse files
committed
Change term for PyInterpreterState_GetID
1 parent aa9c4c6 commit c05be67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
14771477
Return the interpreter's unique ID. If there was any error in doing
14781478
so then ``-1`` is returned and an error is set.
14791479
1480-
The caller must hold the GIL.
1480+
The caller must have an active :term:`thread state`.
14811481
14821482
.. versionadded:: 3.7
14831483

0 commit comments

Comments
 (0)