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
Next Next commit
add a mention of PYTHONBREAKPOINT to breakpoint() docs
  • Loading branch information
nedbat committed May 12, 2023
commit af9ee3f7bc4dc9a410faefc70bcd2df9f7de51aa
5 changes: 5 additions & 0 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ 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.

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

.. versionadded:: 3.7
Expand Down