(source, parser=None)
return tree
Parse XML document into element tree.

    *source* is a filename or file object containing XML data,
    *parser* is an optional parser instance defaulting to XMLParser.

    Return an ElementTree instance.
Parse XML document into element tree.
Parse XML document into element tree .
def parse(source, parser=None):
    """Parse XML document into element tree.

    *source* is a filename or file object containing XML data,
    *parser* is an optional parser instance defaulting to XMLParser.

    Return an ElementTree instance.

    """
    tree = ElementTree()
    tree.parse(source, parser)
    return tree
def parse ( source , parser = None ) : tree = ElementTree ( ) tree . parse ( source , parser ) return tree