mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
[3.11] gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) (#96294)
(cherry picked from commit 47d406ffc4
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
This commit is contained in:
parent
c9eacc8d02
commit
19ec4d40a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue