summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2011-04-28 15:40:19 (GMT)
committerŁukasz Langa <lukasz@langa.pl>2011-04-28 15:40:19 (GMT)
commit9d68ad862a61d78babe086c13a80f74ff6fa4f62 (patch)
treee19ed65021ff911ee46096a2f934b1283280a781 /Doc/library
parentf3eb7d3454685d8dfe45dcba148b6f115b77431b (diff)
parent22108f1bb016458c010623c8abfe94444fae9de8 (diff)
downloadcpython-9d68ad862a61d78babe086c13a80f74ff6fa4f62.zip
cpython-9d68ad862a61d78babe086c13a80f74ff6fa4f62.tar.gz
cpython-9d68ad862a61d78babe086c13a80f74ff6fa4f62.tar.bz2
Merged solution for #11786 from 2.6
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/configparser.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst
index e8eb384..3536f3e 100644
--- a/Doc/library/configparser.rst
+++ b/Doc/library/configparser.rst
@@ -96,6 +96,9 @@ write-back, as will be the keys within each section.
This class does not
support the magical interpolation behavior.
+ All option names are passed through the :meth:`optionxform` method. Its
+ default implementation converts option names to lower case.
+
.. versionadded:: 2.3
.. versionchanged:: 2.6
@@ -116,10 +119,9 @@ write-back, as will be the keys within each section.
*defaults*.
All option names used in interpolation will be passed through the
- :meth:`optionxform` method just like any other option name reference. For
- example, using the default implementation of :meth:`optionxform` (which converts
- option names to lower case), the values ``foo %(bar)s`` and ``foo %(BAR)s`` are
- equivalent.
+ :meth:`optionxform` method just like any other option name reference. Using
+ the default implementation of :meth:`optionxform`, the values ``foo %(bar)s``
+ and ``foo %(BAR)s`` are equivalent.
.. versionadded:: 2.3