def _get_etree_type(etree):
 e = etree.fromstring('<foo/>')
 return _get_type(e)

def _get_etree_type ( etree ) : e = etree . fromstring ( '<foo/>' ) return _get_type ( e )
returns the type associated with handling xml objects from this etree interface .