def _get_coords(response):
    try:
        dom = xml.dom.minidom.parseString(response)
        pos_elem = dom.getElementsByTagName('pos')[0]
        pos_data = pos_elem.childNodes[0].data
        return tuple(pos_data.split())
    except __HOLE__:
        return None, None
dataset/ETHPy150Open kmike/yandex-maps/yandex_maps/api.py/_get_coords