Commit 168d8cdf authored by Łukasz Langa's avatar Łukasz Langa

Merged solution for #11786 from 2.6

parents 3aa43f58 b9be72cd
...@@ -96,6 +96,9 @@ write-back, as will be the keys within each section. ...@@ -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. ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment