summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2009-10-23 13:04:51 +0000
committerFred Drake <fdrake@acm.org>2009-10-23 13:04:51 +0000
commitd617cba62d16485cf004f1c2dec0e072d592e0ea (patch)
tree5886c1380ad622dc752167bd4dfdaab410a48ee0
parentb119ca9df4dd918c569c0831bae8ff2857d51d11 (diff)
downloadcpython-git-d617cba62d16485cf004f1c2dec0e072d592e0ea.tar.gz
add further note about what's passed to optionxform
-rw-r--r--Doc/library/configparser.rst3
1 files changed, 3 insertions, 0 deletions
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: