Skip to content

Commit d24d14e

Browse files
committed
fix Py_IsFinalizing doc ref
1 parent f412737 commit d24d14e

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
@@ -1086,7 +1086,7 @@ Cautions regarding runtime finalization
10861086
In the late stage of :term:`interpreter shutdown`, after attempting to wait for
10871087
non-daemon threads to exit (though this can be interrupted by
10881088
:class:`KeyboardInterrupt`) and running the :mod:`atexit` functions, the runtime
1089-
is marked as *finalizing*: :c:func:`_Py_IsFinalizing` and
1089+
is marked as *finalizing*: :c:func:`Py_IsFinalizing` and
10901090
:func:`sys.is_finalizing` return true. At this point, only the *finalization
10911091
thread* that initiated finalization (typically the main thread) is allowed to
10921092
acquire the :term:`GIL`.

0 commit comments

Comments
 (0)