Skip to content

Commit f010ca5

Browse files
committed
gh-152912: Move versionchanged note below versionadded in Doc/c-api/sys.rst
Put the .. versionchanged:: 3.8.1 entry after the existing .. versionadded:: 3.8 block at the end of the PySys_AddAuditHook section, per RST convention of ordering version directives chronologically.
1 parent 251e0dc commit f010ca5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/c-api/sys.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,6 @@ accessible to C code. They all work with the current interpreter thread's
435435
silently abort the operation by raising an error subclassed from
436436
:class:`RuntimeError` (other errors will not be silenced).
437437
438-
.. versionchanged:: 3.8.1
439-
440-
Exceptions derived from :class:`Exception` but not :class:`RuntimeError`
441-
are no longer suppressed.
442-
443438
The hook function is always called with an :term:`attached thread state` by
444439
the Python interpreter that raised the event.
445440
@@ -467,6 +462,11 @@ accessible to C code. They all work with the current interpreter thread's
467462
468463
.. versionadded:: 3.8
469464
465+
.. versionchanged:: 3.8.1
466+
467+
Exceptions derived from :class:`Exception` but not :class:`RuntimeError`
468+
are no longer suppressed.
469+
470470
471471
.. _processcontrol:
472472

0 commit comments

Comments
 (0)