[Python-checkins] gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)

corona10 webhook-mailer at python.org
Thu Aug 25 21:43:11 EDT 2022


https://github.com/python/cpython/commit/47d406ffc4946b023e38322c5235bec25f068481
commit: 47d406ffc4946b023e38322c5235bec25f068481
branch: main
author: Dong-hee Na <donghee.na at python.org>
committer: corona10 <donghee.na92 at gmail.com>
date: 2022-08-26T10:43:02+09:00
summary:

gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index fbde9129274..93e2f5b26a7 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



More information about the Python-checkins mailing list