[Python-checkins] Doc: fix section levels of devmode doc (#106801)
methane
webhook-mailer at python.org
Sun Jul 16 08:23:57 EDT 2023
https://github.com/python/cpython/commit/e58960160fcb4fce63177fcd9ef605f887377767
commit: e58960160fcb4fce63177fcd9ef605f887377767
branch: main
author: Inada Naoki <songofacandy at gmail.com>
committer: methane <songofacandy at gmail.com>
date: 2023-07-16T21:23:54+09:00
summary:
Doc: fix section levels of devmode doc (#106801)
files:
M Doc/library/devmode.rst
diff --git a/Doc/library/devmode.rst b/Doc/library/devmode.rst
index b2bad48a07e27..80ac13b116c1d 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::
More information about the Python-checkins
mailing list