]> granicus.if.org Git - python/commitdiff
Fixed typo. (email.Utils => email.utils)
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Mon, 13 Apr 2009 01:07:06 +0000 (01:07 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Mon, 13 Apr 2009 01:07:06 +0000 (01:07 +0000)
Doc/library/email.message.rst

index f2a78e121130e781c6180bb99bf727bb76548e37..a10d716020bda356b0cd3b4ddbdf637064bcbc84 100644 (file)
@@ -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