summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-04-13 01:07:06 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-04-13 01:07:06 (GMT)
commit3bd4058d829500f1a91a4c317824fdc9bc41d393 (patch)
treef642cc4eeba0fdab14d01ef33d5267e3ca04c5c8 /Doc
parentdcad046d39e4e879e80e8026224bd2b70585b630 (diff)
downloadcpython-3bd4058d829500f1a91a4c317824fdc9bc41d393.zip
cpython-3bd4058d829500f1a91a4c317824fdc9bc41d393.tar.gz
cpython-3bd4058d829500f1a91a4c317824fdc9bc41d393.tar.bz2
Fixed typo. (email.Utils => email.utils)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/email.message.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst
index f2a78e1..a10d716 100644
--- a/Doc/library/email.message.rst
+++ b/Doc/library/email.message.rst
@@ -373,13 +373,13 @@ Here are the methods of the :class:`Message` class:
If your application doesn't care whether the parameter was encoded as in
:rfc:`2231`, you can collapse the parameter value by calling
- :func:`email.Utils.collapse_rfc2231_value`, passing in the return value
+ :func:`email.utils.collapse_rfc2231_value`, passing in the return value
from :meth:`get_param`. This will return a suitably decoded Unicode
string whn the value is a tuple, or the original string unquoted if it
isn't. For example::
rawparam = msg.get_param('foo')
- param = email.Utils.collapse_rfc2231_value(rawparam)
+ param = email.utils.collapse_rfc2231_value(rawparam)
In any case, the parameter value (either the returned string, or the
``VALUE`` item in the 3-tuple) is always unquoted, unless *unquote* is set