You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type annotations for the locale parameter (e.g. in babel.numbers.format_currency()) suggest that the value can be None, but this causes a TypeError in Locale.parse().
Overview Description
The type annotations for the
locale
parameter (e.g. inbabel.numbers.format_currency()
) suggest that the value can beNone
, but this causes aTypeError
inLocale.parse()
.Steps to Reproduce
Actual Results
Expected Results
I would expect a value of
None
to use the default value, orNone
should be removed from the type annotations entirely.Reproducibility
Additional Information
The text was updated successfully, but these errors were encountered: