X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5a61d3d5f6ff1b0c9fe1d5d10c594033d40d5856..e92e03e2e6b892e6dc7a931fe0e70de9315bd302:/src/nominatim_api/result_formatting.py diff --git a/src/nominatim_api/result_formatting.py b/src/nominatim_api/result_formatting.py index 8eb500db..50f086f3 100644 --- a/src/nominatim_api/result_formatting.py +++ b/src/nominatim_api/result_formatting.py @@ -20,8 +20,8 @@ ErrorFormatFunc = Callable[[str, str, int], str] class FormatDispatcher: - """ Helper class to conveniently create formatting functions in - a module using decorators. + """ Container for formatting functions for results. + Functions can conveniently be added by using decorated functions. """ def __init__(self, content_types: Optional[Mapping[str, str]] = None) -> None: