(s, *args, **kws)
return BytesParser(*args, **kws).parsebytes(s)
Parse a bytes string into a Message object model.

    Optional _class and strict are passed to the Parser constructor.
Parse a bytes string into a Message object model.
Parse a bytes string into a Message object model .
def message_from_bytes(s, *args, **kws):
    """Parse a bytes string into a Message object model.

    Optional _class and strict are passed to the Parser constructor.
    """
    from email.parser import BytesParser
    return BytesParser(*args, **kws).parsebytes(s)
def message_from_bytes ( s , * args , * * kws ) : from email . parser import BytesParser return BytesParser ( * args , * * kws ) . parsebytes ( s )