From d617cba62d16485cf004f1c2dec0e072d592e0ea Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 23 Oct 2009 13:04:51 +0000 Subject: [PATCH] add further note about what's passed to optionxform --- Doc/library/configparser.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index 1af14cccc0..2d8aa50e4c 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -349,6 +349,9 @@ RawConfigParser Objects ... cfgparser.optionxform = str + Note that when reading configuration files, whitespace around the + option names are stripped before :meth:``optionxform`` is called. + .. _configparser-objects: -- 2.50.1