From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 16 Jul 2023 12:27:51 +0000 (-0700) Subject: Doc: fix section levels of devmode doc (GH-106801) X-Git-Tag: v3.11.5~195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9532f0e6dd96aaba7aa50135ecab69923a674a15;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/devmode.rst b/Doc/library/devmode.rst index fd82b3a5b863..90138dd2a75f 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 `. 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 `. 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::