diff options
Diffstat (limited to 'babel/units.py')
-rw-r--r-- | babel/units.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/babel/units.py b/babel/units.py index 1180bd1..0c72ee9 100644 --- a/babel/units.py +++ b/babel/units.py @@ -9,6 +9,7 @@ from babel.numbers import LC_NUMERIC, format_decimal if TYPE_CHECKING: from typing_extensions import Literal + class UnknownUnitError(ValueError): def __init__(self, unit: str, locale: Locale) -> None: ValueError.__init__(self, f"{unit} is not a known unit in {locale}") |