[docs] [issue27893] email.parser.BytesParser.parsebytes docs fix

Martin Panter report at bugs.python.org
Tue Aug 30 18:17:23 EDT 2016


New submission from Martin Panter:

Actually it seems the parameter is called *text*:

>>> BytesParser().parsebytes(bytes=b"")
TypeError: parsebytes() got an unexpected keyword argument 'bytes'
>>> BytesParser().parsebytes(text=b"")
<email.message.Message object at 0xb6a2136c>

----------
components: +email
nosy: +barry, martin.panter, r.david.murray
title: BytesParser.parsebytes docstring fix -> email.parser.BytesParser.parsebytes docs fix
versions: +Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27893>
_______________________________________


More information about the docs mailing list