From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 26 Aug 2022 02:03:16 +0000 (-0700) Subject: gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) X-Git-Tag: v3.10.7~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f4588feec1de272c79b29eff8ee960b12c0a115;p=thirdparty%2FPython%2Fcpython.git gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) (cherry picked from commit 47d406ffc4946b023e38322c5235bec25f068481) Co-authored-by: Dong-hee Na --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index ba5d2cf80339..95f11e239883 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -164,7 +164,7 @@ are always available. They are listed here in alphabetical order. :func:`sys.breakpointhook` can be set to some other function and :func:`breakpoint` will automatically call that, allowing you to drop into the debugger of choice. - If :func:`sys.breakpointhook` is not available to be called, this function will + If :func:`sys.breakpointhook` is not accessible, this function will raise :exc:`RuntimeError`. .. audit-event:: builtins.breakpoint breakpointhook breakpoint