summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/cc3200/boards/make-pins.py2
-rw-r--r--ports/nrf/boards/make-pins.py2
-rw-r--r--ports/stm32/boards/pllvalues.py1
-rw-r--r--ports/stm32/make-stmconst.py2
-rwxr-xr-xshared/memzip/make-memzip.py2
5 files changed, 0 insertions, 9 deletions
diff --git a/ports/cc3200/boards/make-pins.py b/ports/cc3200/boards/make-pins.py
index e30c02ce9..0a06805f7 100644
--- a/ports/cc3200/boards/make-pins.py
+++ b/ports/cc3200/boards/make-pins.py
@@ -4,8 +4,6 @@
# Do not use this as a reference for new ports. See tools/boardgen.py and e.g.
# ports/stm32/boards/make-pins.py.
-from __future__ import print_function
-
import argparse
import sys
import csv
diff --git a/ports/nrf/boards/make-pins.py b/ports/nrf/boards/make-pins.py
index 30da03558..20e89936f 100644
--- a/ports/nrf/boards/make-pins.py
+++ b/ports/nrf/boards/make-pins.py
@@ -4,8 +4,6 @@
# Do not use this as a reference for new ports. See tools/boardgen.py and e.g.
# ports/stm32/boards/make-pins.py.
-from __future__ import print_function
-
import argparse
import sys
import csv
diff --git a/ports/stm32/boards/pllvalues.py b/ports/stm32/boards/pllvalues.py
index 987b784a6..5558d04c5 100644
--- a/ports/stm32/boards/pllvalues.py
+++ b/ports/stm32/boards/pllvalues.py
@@ -4,7 +4,6 @@ the CPU frequency to a given value. The algorithm here appears as C code
for the machine.freq() function.
"""
-from __future__ import print_function
import re
diff --git a/ports/stm32/make-stmconst.py b/ports/stm32/make-stmconst.py
index ff84977ad..770033ef5 100644
--- a/ports/stm32/make-stmconst.py
+++ b/ports/stm32/make-stmconst.py
@@ -4,8 +4,6 @@ extracts relevant peripheral constants, and creates qstrs, mpz's and constants
for the stm module.
"""
-from __future__ import print_function
-
import argparse
import re
diff --git a/shared/memzip/make-memzip.py b/shared/memzip/make-memzip.py
index 92a5d6168..e406c55a4 100755
--- a/shared/memzip/make-memzip.py
+++ b/shared/memzip/make-memzip.py
@@ -7,8 +7,6 @@
# This is somewhat like frozen modules in python, but allows arbitrary files
# to be used.
-from __future__ import print_function
-
import argparse
import os
import subprocess