/usr/share/pyshared/geopy/parsers/base.py is in python-geopy 0.95.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | class Parser(object):
def find(self, document):
raise NotImplementedError
def find_first(self, document):
for location in self.find_iter(document):
return location
def find_all(self, document):
return list(self.find(document))
|