mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Merge #19485: clarify get_param example.
This commit is contained in:
commit
af734963d1
@ -662,7 +662,7 @@ class Message:
|
||||
If your application doesn't care whether the parameter was RFC 2231
|
||||
encoded, it can turn the return value into a string as follows:
|
||||
|
||||
param = msg.get_param('foo')
|
||||
rawparam = msg.get_param('foo')
|
||||
param = email.utils.collapse_rfc2231_value(rawparam)
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user