[docs] [issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py
Vajrasky Kok
report at bugs.python.org
Sun Nov 3 16:12:10 CET 2013
New submission from Vajrasky Kok:
Lib/email/message.py, line 665 & 666:
param = msg.get_param('foo')
param = email.utils.collapse_rfc2231_value(rawparam)
Where does rawparam come from?
On top of that, sending the result of get_param to collapse_rfc2231_value can make it chokes if the result of get_param is None. I already proposed the change in collapse_rfc2231_value to handle None gracefully in another ticket #19063, though.
----------
assignee: docs at python
components: Documentation
files: fix_doc_get_param_in_email_message.patch
keywords: patch
messages: 202029
nosy: docs at python, vajrasky
priority: normal
severity: normal
status: open
title: Slightly incorrect doc for get_param method in Lib/email/message.py
versions: Python 3.4
Added file: http://bugs.python.org/file32480/fix_doc_get_param_in_email_message.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19485>
_______________________________________
More information about the docs
mailing list