Skip to content

Commit af9ee3f

Browse files
committed
add a mention of PYTHONBREAKPOINT to breakpoint() docs
1 parent b7597da commit af9ee3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/functions.rst

+5
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ are always available. They are listed here in alphabetical order.
168168
If :func:`sys.breakpointhook` is not accessible, this function will
169169
raise :exc:`RuntimeError`.
170170

171+
By default (if :func:`sys.breakpointhook` has not been replaced), the
172+
behavior of :func:`breakpoint` can be changed with the
173+
:envvar:`PYTHONBREAKPOINT` environment variable. See
174+
:func:`sys.breakpointhook` for details.
175+
171176
.. audit-event:: builtins.breakpoint breakpointhook breakpoint
172177

173178
.. versionadded:: 3.7

0 commit comments

Comments
 (0)