diff options
author | Dong-hee Na <donghee.na@python.org> | 2022-08-26 01:43:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 01:43:02 (GMT) |
commit | 47d406ffc4946b023e38322c5235bec25f068481 (patch) | |
tree | 103300456044ad9cd0714403570fd926acc60ac4 /Doc/library | |
parent | d45d5c277a386aa694d582aafc6d1f06da5eab3f (diff) | |
download | cpython-47d406ffc4946b023e38322c5235bec25f068481.zip cpython-47d406ffc4946b023e38322c5235bec25f068481.tar.gz cpython-47d406ffc4946b023e38322c5235bec25f068481.tar.bz2 |
gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index fbde912..93e2f5b 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 |