summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-16 12:27:51 (GMT)
committerGitHub <noreply@github.com>2023-07-16 12:27:51 (GMT)
commit9532f0e6dd96aaba7aa50135ecab69923a674a15 (patch)
treec9d719d45dc5e2bd61bd4ccec378b8e4b956da38 /Doc/library
parent77104f551158cd399071e0d92b165d02569be6d7 (diff)
downloadcpython-9532f0e6dd96aaba7aa50135ecab69923a674a15.zip
cpython-9532f0e6dd96aaba7aa50135ecab69923a674a15.tar.gz
cpython-9532f0e6dd96aaba7aa50135ecab69923a674a15.tar.bz2
Doc: fix section levels of devmode doc (GH-106801)
Doc: fix section levels of devmode doc (GH-106801) (cherry picked from commit e58960160fcb4fce63177fcd9ef605f887377767) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
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 fd82b3a..90138dd 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::