(s, *args, **kws)
return Parser(*args, **kws).parsestr(s)
Parse a string into a Message object model.

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

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