summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInada Naoki <methane@users.noreply.github.com>2019-01-31 08:53:48 (GMT)
committerGitHub <noreply@github.com>2019-01-31 08:53:48 (GMT)
commit0897e0c597c065f043e4286d01f16f473ab664ee (patch)
tree2a1299d87ba08abea23ddfad1297559e6c0765b4
parent9f3f0931cfc58498086d287226650599a97412bb (diff)
downloadcpython-0897e0c597c065f043e4286d01f16f473ab664ee.zip
cpython-0897e0c597c065f043e4286d01f16f473ab664ee.tar.gz
cpython-0897e0c597c065f043e4286d01f16f473ab664ee.tar.bz2
bpo-33504: fix wrong "versionchanged" (GH-11712)
-rw-r--r--Doc/library/configparser.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst
index efafd63..185b4a1 100644
--- a/Doc/library/configparser.rst
+++ b/Doc/library/configparser.rst
@@ -476,9 +476,9 @@ the :meth:`__init__` options:
... 'bar': 'y',
... 'baz': 'z'}
... })
- >>> parser.sections() # doctest: +SKIP
+ >>> parser.sections()
['section1', 'section2', 'section3']
- >>> [option for option in parser['section3']] # doctest: +SKIP
+ >>> [option for option in parser['section3']]
['foo', 'bar', 'baz']
* *allow_no_value*, default value: ``False``
@@ -921,7 +921,7 @@ ConfigParser Objects
providing consistent behavior across the parser: non-string
keys and values are implicitly converted to strings.
- .. versionchanged:: 3.7
+ .. versionchanged:: 3.8
The default *dict_type* is :class:`dict`, since it now preserves
insertion order.
@@ -1199,7 +1199,7 @@ RawConfigParser Objects
names, and values via its unsafe ``add_section`` and ``set`` methods,
as well as the legacy ``defaults=`` keyword argument handling.
- .. versionchanged:: 3.7
+ .. versionchanged:: 3.8
The default *dict_type* is :class:`dict`, since it now preserves
insertion order.