def __getitem__(self, key):
        """Returns the Location instance specified by ``key``."""

        location = self.geocoder[key]
        location.astral = self
        return location
def __getitem__ ( self , key ) : location = self . geocoder [ key ] location . astral = self return location
Returns the Location instance specified by ``key``.