]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tokenizer/sanitizers/clean_postcodes.py
fixed typos in docs and code comments
[nominatim.git] / nominatim / tokenizer / sanitizers / clean_postcodes.py
index 593f770db9ade7b1e9d8915d6de85d19003d63b5..5eaea3917c7aea9a2e8047f773cd03ac17990d34 100644 (file)
@@ -74,7 +74,7 @@ class _PostcodeSanitizer:
 
 
 def create(config: SanitizerConfig) -> Callable[[ProcessInfo], None]:
-    """ Create a housenumber processing function.
+    """ Create a function that filters postcodes by their officially allowed pattern.
     """
 
     return _PostcodeSanitizer(config)