Commit 0897e0c5 authored by Inada Naoki's avatar Inada Naoki Committed by GitHub

bpo-33504: fix wrong "versionchanged" (GH-11712)

parent 9f3f0931
...@@ -476,9 +476,9 @@ the :meth:`__init__` options: ...@@ -476,9 +476,9 @@ the :meth:`__init__` options:
... 'bar': 'y', ... 'bar': 'y',
... 'baz': 'z'} ... 'baz': 'z'}
... }) ... })
>>> parser.sections() # doctest: +SKIP >>> parser.sections()
['section1', 'section2', 'section3'] ['section1', 'section2', 'section3']
>>> [option for option in parser['section3']] # doctest: +SKIP >>> [option for option in parser['section3']]
['foo', 'bar', 'baz'] ['foo', 'bar', 'baz']
* *allow_no_value*, default value: ``False`` * *allow_no_value*, default value: ``False``
...@@ -921,7 +921,7 @@ ConfigParser Objects ...@@ -921,7 +921,7 @@ ConfigParser Objects
providing consistent behavior across the parser: non-string providing consistent behavior across the parser: non-string
keys and values are implicitly converted to strings. 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 The default *dict_type* is :class:`dict`, since it now preserves
insertion order. insertion order.
...@@ -1199,7 +1199,7 @@ RawConfigParser Objects ...@@ -1199,7 +1199,7 @@ RawConfigParser Objects
names, and values via its unsafe ``add_section`` and ``set`` methods, names, and values via its unsafe ``add_section`` and ``set`` methods,
as well as the legacy ``defaults=`` keyword argument handling. 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 The default *dict_type* is :class:`dict`, since it now preserves
insertion order. insertion order.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment