]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Oct 2022 22:03:18 +0000 (15:03 -0700)
committerPablo Galindo <pablogsal@gmail.com>
Sat, 22 Oct 2022 19:05:08 +0000 (20:05 +0100)
(cherry picked from commit 47d406ffc4946b023e38322c5235bec25f068481)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
Doc/library/functions.rst

index 635cffdc0baec245521523e78a4eb12f0ec9e028..23936986929f64bdd2317ed7c21579777b66ce69 100644 (file)
@@ -165,7 +165,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