diff options
Diffstat (limited to 'babel/numbers.py')
-rw-r--r-- | babel/numbers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/babel/numbers.py b/babel/numbers.py index 95e9d2a..5a05f91 100644 --- a/babel/numbers.py +++ b/babel/numbers.py @@ -93,7 +93,7 @@ def is_currency(currency: str, locale: Locale | str | None = None) -> bool: def normalize_currency(currency: str, locale: Locale | str | None = None) -> str | None: - """Returns the normalized sting of any currency code. + """Returns the normalized identifier of any currency code. Accepts a ``locale`` parameter for fined-grained validation, working as the one defined above in ``list_currencies()`` method. @@ -1203,7 +1203,7 @@ class NumberPattern: self._format_int( str(exp), self.exp_prec[0], self.exp_prec[1], locale)]) - # Is it a siginificant digits pattern? + # Is it a significant digits pattern? elif '@' in self.pattern: text = self._format_significant(value, self.int_prec[0], |