File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1537,7 +1537,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
15371537 Asynchronously raise an exception in a thread. The *id* argument is the thread
15381538 id of the target thread; *exc* is the exception object to be raised. This
15391539 function does not steal any references to *exc*. To prevent naive misuse, you
1540- must write your own C extension to call this. Must be called with the GIL held .
1540+ must write your own C extension to call this. Must be called with an active :term:`thread state` .
15411541 Returns the number of thread states modified; this is normally one, but will be
15421542 zero if the thread id isn't found. If *exc* is ``NULL``, the pending
15431543 exception (if any) for the thread is cleared. This raises no exceptions.
You can’t perform that action at this time.
0 commit comments