def __repr__(self): """Self-documenting string representation. :rtype: ``str`` :return: String to recreate ``NumberedPoints`` object """ return utils.repr_assist(self, {"locations": self[:]})
def __repr__(self): """Self-documenting string representation. :rtype: ``str`` :return: String to recreate ``Way`` object """ return utils.repr_assist(self, {'nodes': self[:]})
def __repr__(self): """Self-documenting string representation. :rtype: ``str`` :return: String to recreate ``KeyedPoints`` object """ return utils.repr_assist(self, {'points': dict(self.items())})
def __repr__(self): """Self-documenting string representation. :rtype: ``str`` :return: String to recreate ``Point`` object """ return utils.repr_assist(self, {'angle': 'degrees'})
def __repr__(self): """Self-documenting string representation. :rtype: ``str`` :return: String to recreate ``Zone`` object """ location = utils.to_iso6709(self.latitude, self.longitude, format="dms")[:-1] return utils.repr_assist(self, {"location": location})
def __repr__(self): """Self-documenting string representation >>> Zone("+513030-0000731", 'GB', "Europe/London") Zone('+513030-0000730', 'GB', 'Europe/London', None) :rtype: ``str`` :return: String to recreate ``Zone`` object """ location = utils.to_iso6709(self.latitude, self.longitude, format="dms")[:-1] return utils.repr_assist(self, {"location": location})