Merged solution for #11786 from 2.6

This commit is contained in:
Łukasz Langa 2011-04-28 17:40:19 +02:00
commit 9d68ad862a

View file

@ -96,6 +96,9 @@ write-back, as will be the keys within each section.
This class does not This class does not
support the magical interpolation behavior. 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 .. versionadded:: 2.3
.. versionchanged:: 2.6 .. versionchanged:: 2.6
@ -116,10 +119,9 @@ write-back, as will be the keys within each section.
*defaults*. *defaults*.
All option names used in interpolation will be passed through the All option names used in interpolation will be passed through the
:meth:`optionxform` method just like any other option name reference. For :meth:`optionxform` method just like any other option name reference. Using
example, using the default implementation of :meth:`optionxform` (which converts the default implementation of :meth:`optionxform`, the values ``foo %(bar)s``
option names to lower case), the values ``foo %(bar)s`` and ``foo %(BAR)s`` are and ``foo %(BAR)s`` are equivalent.
equivalent.
.. versionadded:: 2.3 .. versionadded:: 2.3