summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-03 05:00:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-03-03 05:00:37 (GMT)
commite89b8e98327da833f92299e1876d2903b6e585ca (patch)
tree1d7d50611390dcea9ad6674aee499f7c91c0c5fc /Doc
parent88a9164cdba48dba05b6ebe1076ba641b4a50ffa (diff)
downloadcpython-e89b8e98327da833f92299e1876d2903b6e585ca.zip
cpython-e89b8e98327da833f92299e1876d2903b6e585ca.tar.gz
cpython-e89b8e98327da833f92299e1876d2903b6e585ca.tar.bz2
Backport 70111: Let configparser use ordered dicts by default.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/configparser.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst
index bab44d4..0c5bb15 100644
--- a/Doc/library/configparser.rst
+++ b/Doc/library/configparser.rst
@@ -75,6 +75,9 @@ write-back, as will be the keys within each section.
.. versionchanged:: 2.6
*dict_type* was added.
+ .. versionchanged:: 2.7
+ The default *dict_type* is :class:`collections.OrderedDict`.
+
.. class:: ConfigParser([defaults[, dict_type]])
@@ -91,6 +94,14 @@ write-back, as will be the keys within each section.
option names to lower case), the values ``foo %(bar)s`` and ``foo %(BAR)s`` are
equivalent.
+ .. versionadded:: 2.3
+
+ .. versionchanged:: 2.6
+ *dict_type* was added.
+
+ .. versionchanged:: 2.7
+ The default *dict_type* is :class:`collections.OrderedDict`.
+
.. class:: SafeConfigParser([defaults[, dict_type]])
@@ -103,6 +114,12 @@ write-back, as will be the keys within each section.
.. versionadded:: 2.3
+ .. versionchanged:: 2.6
+ *dict_type* was added.
+
+ .. versionchanged:: 2.7
+ The default *dict_type* is :class:`collections.OrderedDict`.
+
.. exception:: NoSectionError