Skip to content

Commit 8553928

Browse files
akxDenverCoder1
andcommitted
Update babel/support.py
Co-authored-by: Jonah Lawrence <[email protected]>
1 parent 9487b2e commit 8553928

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

babel/support.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,11 @@ def merge(self, translations: Translations):
684684
def _locales_to_names(
685685
locales: Iterable[str | Locale] | str | Locale | None,
686686
) -> list[str] | None:
687-
"""
688-
Normalize a `locales` argument to a list of locale names.
687+
"""Normalize a `locales` argument to a list of locale names.
688+
689+
:param locales: the list of locales in order of preference (items in
690+
this list can be either `Locale` objects or locale
691+
strings)
689692
"""
690693
if locales is None:
691694
return None

0 commit comments

Comments
 (0)