summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-11-03 17:23:51 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-11-03 17:23:51 (GMT)
commitaf734963d1148d09b10ec893f6948769b5474535 (patch)
tree950de95d11f96e9f5b6c7a2933d538cd136c322f /Lib/email
parent9fe43f5ff31328ec94473cc4fbec8adc9378977f (diff)
parent0de4d3e3eb348d9bfc6df1d7c0651b309306863c (diff)
downloadcpython-af734963d1148d09b10ec893f6948769b5474535.zip
cpython-af734963d1148d09b10ec893f6948769b5474535.tar.gz
cpython-af734963d1148d09b10ec893f6948769b5474535.tar.bz2
Merge #19485: clarify get_param example.
Diffstat (limited to 'Lib/email')
-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 cb2be21..ce673b0 100644
--- a/Lib/email/message.py
+++ b/Lib/email/message.py
@@ -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)
"""