From a70f2454b2a5784e82b658bbfa020c07a448a401 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Fri, 26 Aug 2022 10:22:20 +0900 Subject: [PATCH] gh-96197: Fix expression when :func:`sys.breakpointhook is missing --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index fbde9129274e95..93e2f5b26a74c9 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