Skip to content

Commit e393c1f

Browse files
committed
fix header punctuation
1 parent f22bd48 commit e393c1f

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@ Async and await
22012201

22022202

22032203
:mod:`!ast` helpers
2204-
------------------
2204+
-------------------
22052205

22062206
Apart from the node classes, the :mod:`!ast` module defines these utility functions
22072207
and classes for traversing abstract syntax trees:

Doc/library/atexit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ a cleanup function is undefined.
7979
.. _atexit-example:
8080

8181
:mod:`!atexit` Example
82-
---------------------
82+
----------------------
8383

8484
The following simple example demonstrates how a module can initialize a counter
8585
from a file when it is imported and save the counter's updated value

Doc/library/optparse.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ The following two methods can be used to print and get the ``version`` string:
816816
.. _optparse-how-optparse-handles-errors:
817817

818818
How :mod:`!optparse` handles errors
819-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
819+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
820820

821821
There are two broad classes of errors that :mod:`!optparse` has to worry about:
822822
programmer errors and user errors. Programmer errors are usually erroneous
@@ -1971,7 +1971,7 @@ arguments::
19711971
.. _optparse-extending-optparse:
19721972

19731973
Extending :mod:`!optparse`
1974-
-------------------------
1974+
--------------------------
19751975

19761976
Since the two major controlling factors in how :mod:`!optparse` interprets
19771977
command-line options are the action and type of each option, the most likely

Doc/library/subprocess.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ modules and functions can be found in the following sections.
2828
.. include:: ../includes/wasm-mobile-notavail.rst
2929

3030
Using the :mod:`!subprocess` Module
31-
----------------------------------
31+
-----------------------------------
3232

3333
The recommended approach to invoking subprocesses is to use the :func:`run`
3434
function for all use cases it can handle. For more advanced use cases, the
@@ -1346,7 +1346,7 @@ calls these functions.
13461346
.. _subprocess-replacements:
13471347

13481348
Replacing Older Functions with the :mod:`!subprocess` Module
1349-
-----------------------------------------------------------
1349+
------------------------------------------------------------
13501350

13511351
In this section, "a becomes b" means that b can be used as a replacement for a.
13521352

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ written using a "traditional" testing style that compares output printed to
3939
.. _writing-tests:
4040

4141
Writing Unit Tests for the :mod:`!test` package
42-
----------------------------------------------
42+
-----------------------------------------------
4343

4444
It is preferred that tests that use the :mod:`unittest` module follow a few
4545
guidelines. One is to name the test module by starting it with ``test_`` and end

Doc/library/urllib.request.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ some point in the future.
14861486

14871487

14881488
:mod:`!urllib.request` Restrictions
1489-
----------------------------------
1489+
-----------------------------------
14901490

14911491
.. index::
14921492
pair: HTTP; protocol

0 commit comments

Comments
 (0)