WebBrowserPage: added 'print_function' to the future statement to get rid of a (false) syntax error on Python2.

Fri, 14 Sep 2018 18:55:53 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 14 Sep 2018 18:55:53 +0200
changeset 6496
191c2289593e
parent 6495
6e73d31af3af
child 6497
07ce17c54eae

WebBrowserPage: added 'print_function' to the future statement to get rid of a (false) syntax error on Python2.

WebBrowser/WebBrowserPage.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/WebBrowserPage.py	Mon Sep 10 18:15:10 2018 +0200
+++ b/WebBrowser/WebBrowserPage.py	Fri Sep 14 18:55:53 2018 +0200
@@ -8,7 +8,7 @@
 Module implementing the helpbrowser using QWebView.
 """
 
-from __future__ import unicode_literals
+from __future__ import unicode_literals, print_function
 try:
     str = unicode       # __IGNORE_EXCEPTION__
 except NameError:

eric ide

mercurial