Skip to content

Commit 726af40

Browse files
authored
Merge pull request #113 from wearp/master
Correct docstring in localeselector
2 parents 5f1bf15 + 482fcea commit 726af40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_babel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def localeselector(self, f):
121121
time. If `None` is returned, the locale falls back to the one from
122122
the configuration.
123123
124-
This has to return the locale as string (eg: ``'de_AT'``, ''`en_US`'')
124+
This has to return the locale as string (eg: ``'de_AT'``, ``'en_US'``)
125125
"""
126126
assert self.locale_selector_func is None, \
127127
'a localeselector function is already registered'

0 commit comments

Comments
 (0)