[Python-checkins] [3.11] gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) (#96294)
ambv
webhook-mailer at python.org
Wed Oct 5 18:03:24 EDT 2022
https://github.com/python/cpython/commit/19ec4d40a231f96870f728b4e2339410b86134ea
commit: 19ec4d40a231f96870f728b4e2339410b86134ea
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-10-05T15:03:18-07:00
summary:
[3.11] gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) (#96294)
(cherry picked from commit 47d406ffc4946b023e38322c5235bec25f068481)
Co-authored-by: Dong-hee Na <donghee.na at python.org>
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 41fda9d85597..26ee302d2eab 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