File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2201,7 +2201,7 @@ Async and await
22012201
22022202
22032203:mod: `!ast ` helpers
2204- ------------------
2204+ -------------------
22052205
22062206Apart from the node classes, the :mod: `!ast ` module defines these utility functions
22072207and classes for traversing abstract syntax trees:
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ a cleanup function is undefined.
7979.. _atexit-example :
8080
8181:mod: `!atexit ` Example
82- ---------------------
82+ ----------------------
8383
8484The following simple example demonstrates how a module can initialize a counter
8585from a file when it is imported and save the counter's updated value
Original file line number Diff line number Diff 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
818818How :mod: `!optparse ` handles errors
819- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
819+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
820820
821821There are two broad classes of errors that :mod: `!optparse ` has to worry about:
822822programmer errors and user errors. Programmer errors are usually erroneous
@@ -1971,7 +1971,7 @@ arguments::
19711971.. _optparse-extending-optparse :
19721972
19731973Extending :mod: `!optparse `
1974- -------------------------
1974+ --------------------------
19751975
19761976Since the two major controlling factors in how :mod: `!optparse ` interprets
19771977command-line options are the action and type of each option, the most likely
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ modules and functions can be found in the following sections.
2828.. include :: ../includes/wasm-mobile-notavail.rst
2929
3030Using the :mod: `!subprocess ` Module
31- ----------------------------------
31+ -----------------------------------
3232
3333The recommended approach to invoking subprocesses is to use the :func: `run `
3434function for all use cases it can handle. For more advanced use cases, the
@@ -1346,7 +1346,7 @@ calls these functions.
13461346.. _subprocess-replacements :
13471347
13481348Replacing Older Functions with the :mod: `!subprocess ` Module
1349- -----------------------------------------------------------
1349+ ------------------------------------------------------------
13501350
13511351In this section, "a becomes b" means that b can be used as a replacement for a.
13521352
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ written using a "traditional" testing style that compares output printed to
3939.. _writing-tests :
4040
4141Writing Unit Tests for the :mod: `!test ` package
42- ----------------------------------------------
42+ -----------------------------------------------
4343
4444It is preferred that tests that use the :mod: `unittest ` module follow a few
4545guidelines. One is to name the test module by starting it with ``test_ `` and end
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments