Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0de4d3e

Browse files
committed
#19485: clarify get_param example.
Patch by Vajrasky Kok.
1 parent b281732 commit 0de4d3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/email/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def get_param(self, param, failobj=None, header='content-type',
636636
If your application doesn't care whether the parameter was RFC 2231
637637
encoded, it can turn the return value into a string as follows:
638638
639-
param = msg.get_param('foo')
639+
rawparam = msg.get_param('foo')
640640
param = email.utils.collapse_rfc2231_value(rawparam)
641641
642642
"""

0 commit comments

Comments
 (0)