jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/333886 )
Change subject: textlib.py: revert copyright year, reword comments ......................................................................
textlib.py: revert copyright year, reword comments
The increment of the copyright year was too early.
Follow-up to: I4592548daabe8bd2398fc28d4cf146874d6e5de8
Change-Id: I9ec0d7a56127ed7a71272110ffadd79e54ec26f8 --- M pywikibot/textlib.py 1 file changed, 4 insertions(+), 3 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index 51d71f2..57c338a 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -7,7 +7,7 @@
""" # -# (C) Pywikibot team, 2008-2017 +# (C) Pywikibot team, 2008-2016 # # Distributed under the terms of the MIT license. # @@ -137,8 +137,9 @@ """ 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
pywikibot-commits@lists.wikimedia.org