From 6b296d00e103cdbf6280e31507eadfa75d75180e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 12 May 2023 11:33:51 -0700 Subject: [PATCH] Update Doc/library/functions.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- Doc/library/functions.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 8f020f3ac7992d..3d2bb8efc95d8e 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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