summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2023-07-16 12:23:54 (GMT)
committerGitHub <noreply@github.com>2023-07-16 12:23:54 (GMT)
commite58960160fcb4fce63177fcd9ef605f887377767 (patch)
tree9269902aba0848f91c5b178dbf6cb4ab77d2124b /Doc/library
parent83bd568d2b57337a91ef046c1f52f9ebb03a7803 (diff)
downloadcpython-e58960160fcb4fce63177fcd9ef605f887377767.zip
cpython-e58960160fcb4fce63177fcd9ef605f887377767.tar.gz
cpython-e58960160fcb4fce63177fcd9ef605f887377767.tar.bz2
Doc: fix section levels of devmode doc (#106801)
Diffstat (limited to 'Doc/library')
-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::