jenkins-bot has submitted this change and it was merged.
Change subject: (bug 57838) Wrong syntax with new print function for py3 compatibility ......................................................................
(bug 57838) Wrong syntax with new print function for py3 compatibility
The new py3 print function is available for 2.6+ versions. We have just to import it from __future__.
follow-up for https://gerrit.wikimedia.org/r/#/c/97876/
Change-Id: I983d07f362cd277820f27f3e00c2629415290625 --- M pywikibot/userinterfaces/win32_unicode.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/userinterfaces/win32_unicode.py b/pywikibot/userinterfaces/win32_unicode.py index c34a6b1..44ec80c 100755 --- a/pywikibot/userinterfaces/win32_unicode.py +++ b/pywikibot/userinterfaces/win32_unicode.py @@ -19,7 +19,7 @@ # Licensed under both CC-BY-SA as the MIT license. # ################################################ - +from __future__ import print_function import sys stdin = sys.stdin stdout = sys.stdout