aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2020-11-07 13:20:38 +0100
committerChristian Tismer <tismer@stackless.com>2020-11-09 08:10:06 +0000
commitc9cefb4ab7f93a64fc1f34a71745f697e0a46e44 (patch)
treedaf3e658a2a1e1eb4078f983187525b951fa0d04 /tools
parentd72f0e35f22f3f9460d12e40f8f5676bf5a7f0d1 (diff)
python3: remove all obsolete "from __future__" import statements
Note that not all future statements can be removed: PEP 563 for instance deals with from __future__ import annotations Task-number: PYSIDE-904 Change-Id: Ia387ec87f3c68ca64d13e8e80191eda900f58638 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/debug_windows.py2
-rw-r--r--tools/missing_bindings.py2
2 files changed, 0 insertions, 4 deletions
diff --git a/tools/debug_windows.py b/tools/debug_windows.py
index 73696a379..de3ddf445 100644
--- a/tools/debug_windows.py
+++ b/tools/debug_windows.py
@@ -61,8 +61,6 @@ https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
"""
-from __future__ import print_function
-
import sys
import re
import subprocess
diff --git a/tools/missing_bindings.py b/tools/missing_bindings.py
index 8e5960029..63314c1ab 100644
--- a/tools/missing_bindings.py
+++ b/tools/missing_bindings.py
@@ -53,8 +53,6 @@
# -w - if PyQt5 is an installed package, check if the tested
# class also exists there.
-from __future__ import print_function
-
try:
import urllib.request as urllib2
except ImportError: