XZise has submitted this change and it was merged.
Change subject: Remove unnecessary unicode from i18n docstring ......................................................................
Remove unnecessary unicode from i18n docstring
The unicode in a r"""..""" was the last pep257 issue.
Change-Id: I10b8587b2c6d9a42e46e63c9f0fdb9747f5d6040 --- M pywikibot/i18n.py M tox.ini 2 files changed, 1 insertion(+), 3 deletions(-)
Approvals: XZise: Looks good to me, approved
diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py index e10ccbf..33ad626 100644 --- a/pywikibot/i18n.py +++ b/pywikibot/i18n.py @@ -418,9 +418,6 @@ Examples: If we had a test dictionary in test.py like msg = { - 'de': { - 'test-changing': u'Bot: Ă„ndere %(num)d {{PLURAL:num|Seite|Seiten}}.', - }, 'en': { # number value as format sting is allowed 'test-changing': u'Bot: Changing %(num)s {{PLURAL:%(num)d|page|pages}}.', diff --git a/tox.ini b/tox.ini index ed4e709..2d2b443 100644 --- a/tox.ini +++ b/tox.ini @@ -36,6 +36,7 @@ ./pywikibot/editor.py \ ./pywikibot/family.py \ ./pywikibot/fixes.py \ + ./pywikibot/i18n.py \ ./pywikibot/interwiki_graph.py \ ./pywikibot/page.py \ ./pywikibot/plural.py \
pywikibot-commits@lists.wikimedia.org