PyDocs

Nav

Internet Data Handling

BytesParser

email.parser

class · Added in 3.2 (source)
  • BytesParser(_class=None, *, policy=policy.compat32)
Create a BytesParser instance. The _class and policy arguments have the same meaning and semantics as the _factory and policy arguments of BytesFeedParser.
Changed in 3.3, 3.6
  • 3.3: Removed the strict argument that was deprecated in 2.4. Added the policy keyword.
  • 3.6: _class defaults to the policy message_factory.
Members of BytesParser

p

parse
Create a message structure from the data in a binary file.
parsebytes
Create a message structure from a byte string.
0 Examples
No examples for email.parser/BytesParser.
See Also
No see-alsos for email.parser/BytesParser
0 Notes
No notes for BytesParser