Commit 04fecfd9 authored by R David Murray's avatar R David Murray

#19485: clarify get_param example.

Patch by Vajrasky Kok.
parent c7e0b383
...@@ -636,7 +636,7 @@ class Message: ...@@ -636,7 +636,7 @@ class Message:
If your application doesn't care whether the parameter was RFC 2231 If your application doesn't care whether the parameter was RFC 2231
encoded, it can turn the return value into a string as follows: 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) param = email.utils.collapse_rfc2231_value(rawparam)
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment