]> granicus.if.org Git - python/commitdiff
#19485: clarify get_param example.
authorR David Murray <rdmurray@bitdance.com>
Sun, 3 Nov 2013 17:23:23 +0000 (12:23 -0500)
committerR David Murray <rdmurray@bitdance.com>
Sun, 3 Nov 2013 17:23:23 +0000 (12:23 -0500)
Patch by Vajrasky Kok.

Lib/email/message.py

index 5020a0325e67ddaf8b4a1f2a92465323c52f58d2..f43a3809beca9a461d21fb1046be1154e14c2d59 100644 (file)
@@ -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)
 
         """