X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9a5f75dba759a3e52e013ef8c5db433cf4ef1b8f..0278ab7f41bf9bc96a87084c04bfec263c6acc40:/nominatim/data/place_name.py?ds=sidebyside diff --git a/nominatim/data/place_name.py b/nominatim/data/place_name.py index 47464e2b..abba3544 100644 --- a/nominatim/data/place_name.py +++ b/nominatim/data/place_name.py @@ -34,7 +34,7 @@ class PlaceName: def __repr__(self) -> str: - return f"PlaceName(name='{self.name}',kind='{self.kind}',suffix='{self.suffix}')" + return f"PlaceName(name={self.name!r},kind={self.kind!r},suffix={self.suffix!r})" def clone(self, name: Optional[str] = None,