summaryrefslogtreecommitdiffstats
path: root/Lib/email/message.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-11-03 17:23:23 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-11-03 17:23:23 (GMT)
commit0de4d3e3eb348d9bfc6df1d7c0651b309306863c (patch)
treef25b926b0885580293d3782ccc0850aeefc6412b /Lib/email/message.py
parentb2817327b91274af254dc4fe391fbc488368bfeb (diff)
downloadcpython-0de4d3e3eb348d9bfc6df1d7c0651b309306863c.zip
cpython-0de4d3e3eb348d9bfc6df1d7c0651b309306863c.tar.gz
cpython-0de4d3e3eb348d9bfc6df1d7c0651b309306863c.tar.bz2
#19485: clarify get_param example.
Patch by Vajrasky Kok.
Diffstat (limited to 'Lib/email/message.py')
-rw-r--r--Lib/email/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/message.py b/Lib/email/message.py
index 5020a03..f43a380 100644
--- a/Lib/email/message.py
+++ b/Lib/email/message.py
@@ -636,7 +636,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)
"""