diff options
author | Raymond Hettinger <python@rcn.com> | 2009-03-02 23:06:00 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-03-02 23:06:00 (GMT) |
commit | 0663a1ed793c164fb11d3dd62bebc677e260891e (patch) | |
tree | 1f56f1dcc13dc07301c7d0c32d2d04d49b6f1afb /Doc/library/configparser.rst | |
parent | 6accb988a1822dc2927346ae4819aff8cc876b98 (diff) | |
download | cpython-0663a1ed793c164fb11d3dd62bebc677e260891e.zip cpython-0663a1ed793c164fb11d3dd62bebc677e260891e.tar.gz cpython-0663a1ed793c164fb11d3dd62bebc677e260891e.tar.bz2 |
Let configparser use ordered dicts by default.
Diffstat (limited to 'Doc/library/configparser.rst')
-rw-r--r-- | Doc/library/configparser.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index e833e23..9439d0d 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -64,6 +64,9 @@ write-back, as will be the keys within each section. options within a section, and for the default values. This class does not support the magical interpolation behavior. + .. versionchanged 3.1 + The default *dict_type* is :class:`collections.OrderedDict`. + .. class:: ConfigParser([defaults[, dict_type]]) @@ -80,6 +83,9 @@ 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. + .. versionchanged 3.1 + The default *dict_type* is :class:`collections.OrderedDict`. + .. class:: SafeConfigParser([defaults[, dict_type]]) @@ -90,6 +96,9 @@ write-back, as will be the keys within each section. .. XXX Need to explain what's safer/more predictable about it. + .. versionchanged 3.1 + The default *dict_type* is :class:`collections.OrderedDict`. + .. exception:: NoSectionError |