summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: