Skip to content

Commit 3609077

Browse files
committed
Remove __future__ dependency
MicroPython doesn't include __future__ To anyone still using Python 2.x, please switch to Python 3.x :)
1 parent 56cb89a commit 3609077

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

examples/qwiic_relay_ex1_single.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#===============================================================================
3939
# Example 1 - Single
4040

41-
from __future__ import print_function
4241
import qwiic_relay
4342
import time
4443
import sys

examples/qwiic_relay_ex2_dual.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#==================================================================================
3939
# Example 2 - Dual
4040

41-
from __future__ import print_function
4241
import qwiic_relay
4342
import time
4443
import sys

examples/qwiic_relay_ex3_quad.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#==================================================================================
3939
# Example 3 - Quad
4040

41-
from __future__ import print_function
4241
import qwiic_relay
4342
import time
4443
import sys

examples/qwiic_relay_ex4_pwm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#==================================================================================
3939
# Example 4 - PWM
4040

41-
from __future__ import print_function
4241
import qwiic_relay
4342
import time
4443
import sys

qwiic_relay.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
"""
5555
#-----------------------------------------------------------------------------
5656

57-
from __future__ import print_function
58-
5957
import qwiic_i2c
6058

6159
# Define the device name and I2C addresses. These are set in the class definition

0 commit comments

Comments
 (0)