

def __getitem__(self, index):
    'Backwards compatibility with geopy 0.93 tuples.'
    return (self.name, self.point)[index]

dataset/ETHPy150Open M4rtinK/modrana/core/bundle/geopy/location.py Location.__getitem__/original