def parse(self, xml_input):
        """Parse the property list (`.plist`, `.xml, for example) ``xml_input``,
        which can be either a string or a file-like object.

        >>> parser = XmlPropertyListParser()
        >>> parser.parse(r'<plist version="1.0">'
        ...              r'<dict><key>Python</key><string>.py</string></dict>'
        ...              r'</plist>')
        {'Python': '.py'}
        """
        try:
            return self._parse_using_etree(xml_input)
        except __HOLE__:
            # No xml.etree.ccElementTree found.
            return self._parse_using_sax_parser(xml_input)
dataset/ETHPy150Open SublimeText/PackageDev/fileconv/plist_parser.py/XmlPropertyListParser.parse