[Python-checkins] Doc: fix section levels of devmode doc (GH-106801)
methane
webhook-mailer at python.org
Sun Jul 16 08:27:55 EDT 2023
https://github.com/python/cpython/commit/9532f0e6dd96aaba7aa50135ecab69923a674a15
commit: 9532f0e6dd96aaba7aa50135ecab69923a674a15
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: methane <songofacandy at gmail.com>
date: 2023-07-16T21:27:51+09:00
summary:
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 at gmail.com>
files:
M Doc/library/devmode.rst
diff --git a/Doc/library/devmode.rst b/Doc/library/devmode.rst
index fd82b3a5b8631..90138dd2a75f9 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