summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-25 19:03:16 -0700
committerGitHub <noreply@github.com>2022-08-25 19:03:16 -0700
commit5f4588feec1de272c79b29eff8ee960b12c0a115 (patch)
tree2b2d4b3b475ed2f1a4e906cd087e828c12fa3fb8
parentfa118f0cd32e9b6cba68df10a176b502407243c8 (diff)
downloadcpython-git-5f4588feec1de272c79b29eff8ee960b12c0a115.tar.gz
gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)
(cherry picked from commit 47d406ffc4946b023e38322c5235bec25f068481) Co-authored-by: Dong-hee Na <donghee.na@python.org>
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index ba5d2cf803..95f11e2398 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