Skip to content

Commit

Permalink
Update Doc/library/functions.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
nedbat and AA-Turner committed May 12, 2023
1 parent af9ee3f commit 6b296d0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,12 @@ are always available. They are listed here in alphabetical order.
If :func:`sys.breakpointhook` is not accessible, this function will
raise :exc:`RuntimeError`.

By default (if :func:`sys.breakpointhook` has not been replaced), the
behavior of :func:`breakpoint` can be changed with the
:envvar:`PYTHONBREAKPOINT` environment variable. See
:func:`sys.breakpointhook` for details.
By default, the behavior of :func:`breakpoint` can be changed with
the :envvar:`PYTHONBREAKPOINT` environment variable.
See :func:`sys.breakpointhook` for usage details.

Note that this is not guaranteed if :func:`sys.breakpointhook`
has been replaced.

.. audit-event:: builtins.breakpoint breakpointhook breakpoint

Expand Down

0 comments on commit 6b296d0

Please sign in to comment.