]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/data/place_name.py
avoid index-use on rank parameters for reverse lookups
[nominatim.git] / nominatim / data / place_name.py
index 47464e2b323b4c753f7e58e2c433e77dec57ea59..abba3544e5025b09051a7ae220ec2e77d3fa2930 100644 (file)
@@ -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,