Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3bd4058d
Commit
3bd4058d
authored
Apr 13, 2009
by
Hirokazu Yamamoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo. (email.Utils => email.utils)
parent
dcad046d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/email.message.rst
Doc/library/email.message.rst
+2
-2
No files found.
Doc/library/email.message.rst
View file @
3bd4058d
...
@@ -373,13 +373,13 @@ Here are the methods of the :class:`Message` class:
...
@@ -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
If your application doesn't care whether the parameter was encoded as in
:rfc:`2231`, you can collapse the parameter value by calling
:rfc:`2231`, you can collapse the parameter value by calling
:func:`email.
U
tils.collapse_rfc2231_value`, passing in the return value
:func:`email.
u
tils.collapse_rfc2231_value`, passing in the return value
from :meth:`get_param`. This will return a suitably decoded Unicode
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
string whn the value is a tuple, or the original string unquoted if it
isn't. For example::
isn't. For example::
rawparam = msg.get_param('foo')
rawparam = msg.get_param('foo')
param = email.
U
tils.collapse_rfc2231_value(rawparam)
param = email.
u
tils.collapse_rfc2231_value(rawparam)
In any case, the parameter value (either the returned string, or the
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
``VALUE`` item in the 3-tuple) is always unquoted, unless *unquote* is set
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment