Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] Doc: fix section levels of devmode doc (GH-106801) #106809

Merged
merged 1 commit into from
Jul 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/devmode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
See also :ref:`Python debug build <debug-build>`.

Effects of the Python Development Mode
======================================
--------------------------------------

Enabling the Python Development Mode is similar to the following command, but
with additional effects described below::
Expand Down Expand Up @@ -58,7 +58,7 @@
memory allocators, set the :envvar:`PYTHONMALLOC` environment variable to
``default``.

* Call :func:`faulthandler.enable` at Python startup to install handlers for

Check warning on line 61 in Doc/library/devmode.rst

View workflow job for this annotation

GitHub Actions / Docs

py:const reference target not found: SIGSEGV

Check warning on line 61 in Doc/library/devmode.rst

View workflow job for this annotation

GitHub Actions / Docs

py:const reference target not found: SIGFPE

Check warning on line 61 in Doc/library/devmode.rst

View workflow job for this annotation

GitHub Actions / Docs

py:const reference target not found: SIGABRT

Check warning on line 61 in Doc/library/devmode.rst

View workflow job for this annotation

GitHub Actions / Docs

py:const reference target not found: SIGBUS

Check warning on line 61 in Doc/library/devmode.rst

View workflow job for this annotation

GitHub Actions / Docs

py:const reference target not found: SIGILL
the :const:`SIGSEGV`, :const:`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS` and
:const:`SIGILL` signals to dump the Python traceback on a crash.

Expand All @@ -81,7 +81,7 @@
ignored for empty strings.

* The :class:`io.IOBase` destructor logs ``close()`` exceptions.
* Set the :attr:`~sys.flags.dev_mode` attribute of :attr:`sys.flags` to

Check warning on line 84 in Doc/library/devmode.rst

View workflow job for this annotation

GitHub Actions / Docs

py:attr reference target not found: sys.flags.dev_mode
``True``.

The Python Development Mode does not enable the :mod:`tracemalloc` module by
Expand All @@ -107,7 +107,7 @@


ResourceWarning Example
=======================
-----------------------

Example of a script counting the number of lines of the text file specified in
the command line::
Expand Down Expand Up @@ -171,7 +171,7 @@


Bad file descriptor error example
=================================
---------------------------------

Script displaying the first line of itself::

Expand Down