(original) (raw)

changeset: 69671:a6b772599594 branch: 2.7 parent: 69658:e19d2e3a3a58 parent: 69670:c7ce67c9237a user: Ɓukasz Langa lukasz@langa.pl date: Thu Apr 28 17:40:19 2011 +0200 files: Doc/library/configparser.rst description: Merged solution for #11786 from 2.6 diff -r e19d2e3a3a58 -r a6b772599594 Doc/library/configparser.rst --- a/Doc/library/configparser.rst Thu Apr 28 17:00:19 2011 +0800 +++ b/Doc/library/configparser.rst Thu Apr 28 17:40:19 2011 +0200 @@ -96,6 +96,9 @@ 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 @@ *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 /lukasz@langa.pl