jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/333570 )
Change subject: textlib.py: fix typos and update year in comments ......................................................................
textlib.py: fix typos and update year in comments
Change-Id: I4592548daabe8bd2398fc28d4cf146874d6e5de8 --- M pywikibot/textlib.py 1 file changed, 4 insertions(+), 4 deletions(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index d981c51..51d71f2 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -7,7 +7,7 @@
""" # -# (C) Pywikibot team, 2008-2016 +# (C) Pywikibot team, 2008-2017 # # Distributed under the terms of the MIT license. # @@ -127,7 +127,7 @@ 'or': u'୦୧୨୩୪୫୬୭୮୯', }
-# Used in TimeStripper. When a timestamp-like line have longer gaps +# Used in TimeStripper. When a timestamp-like line has longer gaps # than this between year, month, etc in it, then the line will not be # considered to contain a timestamp. TIMESTAMP_GAP_LIMIT = 10 @@ -137,8 +137,8 @@ """ Change Latin digits based on language to localized version.
- Be aware that this function only returns for several language - And doesn't touch the input if other languages are asked. + Be aware that this function only returns for several languages, + and that it doesn't touch the input if other languages are asked. @param phrase: The phrase to convert to localized numerical @param lang: language code @return: The localized version
pywikibot-commits@lists.wikimedia.org