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 <rep...@bugs.python.org> <http://bugs.python.org/issue27893> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com