Exemplo n.º 1
0
# Copyright (C) 2001 Python Software Foundation
Exemplo n.º 2
0
def message_from_file(fp, _class=_Message):
    return _Parser(_class).parse(fp)
Exemplo n.º 3
0
# Copyright (C) 2001 Python Software Foundation
Exemplo n.º 4
0
def message_from_string(s, _class=_Message):
    return _Parser(_class).parsestr(s)