summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2023-07-16 12:25:35 (GMT)
committerGitHub <noreply@github.com>2023-07-16 12:25:35 (GMT)
commit0afd5305056c0be37ccaf7b367f1ea70ad9b02e3 (patch)
treea945fe757e255002285ce9e3003ccd6f2da63b94
parent30c8915a199690a74b0be4a83e377cf4c4ff9da4 (diff)
downloadcpython-0afd5305056c0be37ccaf7b367f1ea70ad9b02e3.zip
cpython-0afd5305056c0be37ccaf7b367f1ea70ad9b02e3.tar.gz
cpython-0afd5305056c0be37ccaf7b367f1ea70ad9b02e3.tar.bz2
Doc: fix section levels of devmode doc (GH-106801)
(cherry picked from commit e58960160fcb4fce63177fcd9ef605f887377767)
-rw-r--r--Doc/library/devmode.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/devmode.rst b/Doc/library/devmode.rst
index b2bad48..80ac13b 100644
--- a/Doc/library/devmode.rst
+++ b/Doc/library/devmode.rst
@@ -16,7 +16,7 @@ setting the :envvar:`PYTHONDEVMODE` environment variable to ``1``.
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::
@@ -107,7 +107,7 @@ value can be read from :data:`sys.flags.dev_mode <sys.flags>`.
ResourceWarning Example
-=======================
+-----------------------
Example of a script counting the number of lines of the text file specified in
the command line::
@@ -171,7 +171,7 @@ application more deterministic and more reliable.
Bad file descriptor error example
-=================================
+---------------------------------
Script displaying the first line of itself::