Skip to content

Commit 915572c

Browse files
committed
Remove future import to save that small bit of memory
1 parent 4ea4388 commit 915572c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

adafruit_mpr121.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
3131
"""
3232

33-
from __future__ import annotations
34-
3533
import time
3634

3735
try:
@@ -94,10 +92,10 @@ class MPR121_Channel:
9492
Not meant to be used directly.
9593
"""
9694

97-
_mpr121: MPR121
95+
_mpr121: "MPR121"
9896
_channel: int
9997

100-
def __init__(self, mpr121: MPR121, channel: int) -> None:
98+
def __init__(self, mpr121: "MPR121", channel: int) -> None:
10199
"""Creates a new ``MPR121_Channel`` instance.
102100
103101
:param mpr121: An instance of the touch sensor driver.

0 commit comments

Comments
 (0)