Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "gh-67056: document that registering/unregistering an atexit f…
…unc from within an atexit func is undefined"

This reverts commit d3127cd.
  • Loading branch information
iritkatriel committed May 14, 2023
commit e23c17ba03d8545ddadfccbe772a771d98b621dc
5 changes: 0 additions & 5 deletions Doc/library/atexit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ internal error is detected, or when :func:`os._exit` is called.
This function returns *func*, which makes it possible to use it as a
decorator.

The effect of calling :func:`register` from another registered cleanup
function is undefined.


.. function:: unregister(func)

Expand All @@ -58,8 +55,6 @@ internal error is detected, or when :func:`os._exit` is called.
comparisons (``==``) are used internally during unregistration, so function
references do not need to have matching identities.

The effect of calling :func:`unregister` from a registered cleanup function
is undefined.

.. seealso::

Expand Down