File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2606,8 +2606,10 @@ These APIs are obsolete since Python 3.13 with the introduction of
26062606 If *microseconds* is ``-1``, this will wait indefinitely until the lock has
26072607 been released.
26082608
2609- If *intr_flag* is ``1``, acquiring the lock may be interrupted by CTRL^C,
2610- in which case this function returns :c:enumerator:`PY_LOCK_INTR`.
2609+ If *intr_flag* is ``1``, acquiring the lock may be interrupted by a signal,
2610+ in which case this function returns :c:enumerator:`PY_LOCK_INTR`. Upon
2611+ interruption, it's generally expected that the caller makes a call to
2612+ :c:func:`Py_MakePendingCalls` to propagate an exception to Python code.
26112613
26122614 If the lock is successfully acquired, this function returns
26132615 :c:enumerator:`PY_LOCK_ACQUIRED`.
You can’t perform that action at this time.
0 commit comments