def geocode(api_key, address, timeout=2):
    ''' returns (longtitude, latitude,) tuple for given address '''
    try:
        xml = _get_geocode_xml(api_key, address, timeout)
        return _get_coords(xml)
    except __HOLE__:
        return None, None
dataset/ETHPy150Open kmike/yandex-maps/yandex_maps/api.py/geocode