Skip to content

Commit

Permalink
Merge "textlib.py: revert copyright year, reword comments"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Feb 4, 2017
2 parents 5798597 + 1f56023 commit 4ce1609
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pywikibot/textlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""
#
# (C) Pywikibot team, 2008-2017
# (C) Pywikibot team, 2008-2016
#
# Distributed under the terms of the MIT license.
#
Expand Down Expand Up @@ -137,8 +137,9 @@ def to_local_digits(phrase, lang):
"""
Change Latin digits based on language to localized version.
Be aware that this function only returns for several languages,
and that it doesn't touch the input if other languages are asked.
Be aware that this function only works for several languages,
and that it returns an unchanged string if an unsupported language is given.
@param phrase: The phrase to convert to localized numerical
@param lang: language code
@return: The localized version
Expand Down

0 comments on commit 4ce1609

Please sign in to comment.