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

Skip to content

Commit af73496

Browse files
committed
Merge #19485: clarify get_param example.
2 parents 9fe43f5 + 0de4d3e commit af73496

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
@@ -662,7 +662,7 @@ def get_param(self, param, failobj=None, header='content-type',
662662
If your application doesn't care whether the parameter was RFC 2231
663663
encoded, it can turn the return value into a string as follows:
664664
665-
param = msg.get_param('foo')
665+
rawparam = msg.get_param('foo')
666666
param = email.utils.collapse_rfc2231_value(rawparam)
667667
668668
"""

0 commit comments

Comments
 (0)