diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2017-08-21 23:23:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-21 23:23:38 (GMT) |
commit | ea57923e89aa4a1bde1d4fa1de7d6eacff603683 (patch) | |
tree | 37b30667661e561d648fd7c714a2e0b6032215b0 /Doc | |
parent | 44e6ad87340d50f48daf53b6a61138377d0d0d10 (diff) | |
download | cpython-ea57923e89aa4a1bde1d4fa1de7d6eacff603683.zip cpython-ea57923e89aa4a1bde1d4fa1de7d6eacff603683.tar.gz cpython-ea57923e89aa4a1bde1d4fa1de7d6eacff603683.tar.bz2 |
bpo-23835: [docs] configparser converts defaults to strings (#3176)
Title says all.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/configparser.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index 61eab4e..c31a7e9 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -944,6 +944,11 @@ ConfigParser Objects .. versionchanged:: 3.5 The *converters* argument was added. + .. versionchanged:: 3.7 + The *defaults* argument is read with :meth:`read_dict()`, + providing consistent behavior across the parser: non-string + keys and values are implicitly converted to strings. + .. method:: defaults() @@ -1325,4 +1330,3 @@ Exceptions .. [1] Config parsers allow for heavy customization. If you are interested in changing the behaviour outlined by the footnote reference, consult the `Customizing Parser Behaviour`_ section. - |