summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/make_root_pointers.py2
-rw-r--r--py/makecompresseddata.py2
-rw-r--r--py/makemoduledefs.py2
-rw-r--r--py/makeqstrdata.py2
-rw-r--r--py/makeqstrdefs.py2
-rw-r--r--py/makeversionhdr.py2
6 files changed, 0 insertions, 12 deletions
diff --git a/py/make_root_pointers.py b/py/make_root_pointers.py
index efe398b82..5da343c12 100644
--- a/py/make_root_pointers.py
+++ b/py/make_root_pointers.py
@@ -6,8 +6,6 @@ These are used to generate a header with the required entries for
"struct _mp_state_vm_t" in py/mpstate.h
"""
-from __future__ import print_function
-
import argparse
import io
import re
diff --git a/py/makecompresseddata.py b/py/makecompresseddata.py
index 1bce3e8e8..a6fa7db00 100644
--- a/py/makecompresseddata.py
+++ b/py/makecompresseddata.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
import collections
import re
import sys
diff --git a/py/makemoduledefs.py b/py/makemoduledefs.py
index 29162ab38..1488db5c9 100644
--- a/py/makemoduledefs.py
+++ b/py/makemoduledefs.py
@@ -14,8 +14,6 @@ py/builtinimnport.c:process_import_at_level. Regular modules will always use
the built-in version.
"""
-from __future__ import print_function
-
import sys
import re
import io
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py
index 8cd9bdc70..0280a4aa6 100644
--- a/py/makeqstrdata.py
+++ b/py/makeqstrdata.py
@@ -4,8 +4,6 @@ Process raw qstr file and output qstr data with length, hash and data bytes.
This script works with Python 3.3+.
"""
-from __future__ import print_function
-
import re
import sys
diff --git a/py/makeqstrdefs.py b/py/makeqstrdefs.py
index 3f53e1ff3..dd514c703 100644
--- a/py/makeqstrdefs.py
+++ b/py/makeqstrdefs.py
@@ -5,8 +5,6 @@ qstr. Each qstr is transformed into a qstr definition of the form 'Q(...)'.
This script works with Python 3.3+.
"""
-from __future__ import print_function
-
import io
import os
import re
diff --git a/py/makeversionhdr.py b/py/makeversionhdr.py
index aec95f08e..249ec1830 100644
--- a/py/makeversionhdr.py
+++ b/py/makeversionhdr.py
@@ -4,8 +4,6 @@ Generate header file with macros defining MicroPython version info.
This script works with Python 3.3+.
"""
-from __future__ import print_function
-
import argparse
import sys
import os