From cdaab2c64c502219635af4c52d401f388fa32842 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 27 Sep 2023 13:41:17 +0300 Subject: [PATCH 1/2] gh-101100: Fix sphinx warnings in `library/devmode.rst` --- Doc/library/devmode.rst | 5 +++-- Doc/tools/.nitignore | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/devmode.rst b/Doc/library/devmode.rst index 914aa45cf9cbc3..a6a3cb0eb536e3 100644 --- a/Doc/library/devmode.rst +++ b/Doc/library/devmode.rst @@ -59,8 +59,9 @@ Effects of the Python Development Mode: ``default``. * Call :func:`faulthandler.enable` at Python startup to install handlers for - the :const:`SIGSEGV`, :const:`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS` and - :const:`SIGILL` signals to dump the Python traceback on a crash. + the :const:`signal.SIGSEGV`, :const:`signal.SIGFPE`, + :const:`signal.SIGABRT`, :const:`signal.SIGBUS` and + :const:`signal.SIGILL` signals to dump the Python traceback on a crash. It behaves as if the :option:`-X faulthandler <-X>` command line option is used or if the :envvar:`PYTHONFAULTHANDLER` environment variable is set to diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index 1dd7676eab057e..a5fb940b150ee8 100644 --- a/Doc/tools/.nitignore +++ b/Doc/tools/.nitignore @@ -53,7 +53,6 @@ Doc/library/csv.rst Doc/library/datetime.rst Doc/library/dbm.rst Doc/library/decimal.rst -Doc/library/devmode.rst Doc/library/difflib.rst Doc/library/doctest.rst Doc/library/email.charset.rst From c4d24d1c10f531e48a3394126e9e2bb6ab133a54 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Wed, 27 Sep 2023 14:52:13 +0300 Subject: [PATCH 2/2] Update Doc/library/devmode.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- Doc/library/devmode.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/devmode.rst b/Doc/library/devmode.rst index a6a3cb0eb536e3..5b8a9bd1908456 100644 --- a/Doc/library/devmode.rst +++ b/Doc/library/devmode.rst @@ -59,9 +59,9 @@ Effects of the Python Development Mode: ``default``. * Call :func:`faulthandler.enable` at Python startup to install handlers for - the :const:`signal.SIGSEGV`, :const:`signal.SIGFPE`, - :const:`signal.SIGABRT`, :const:`signal.SIGBUS` and - :const:`signal.SIGILL` signals to dump the Python traceback on a crash. + the :const:`~signal.SIGSEGV`, :const:`~signal.SIGFPE`, + :const:`~signal.SIGABRT`, :const:`~signal.SIGBUS` and + :const:`~signal.SIGILL` signals to dump the Python traceback on a crash. It behaves as if the :option:`-X faulthandler <-X>` command line option is used or if the :envvar:`PYTHONFAULTHANDLER` environment variable is set to