Skip to content

Commit 054823d

Browse files
committed
Working on optional imports
1 parent 0b3e5f8 commit 054823d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_avrprog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AVRprog.git"
3434

3535
try:
36-
from io import TextIOWrapper
3736
from typing import Any, Dict, Optional, Tuple
3837

39-
from _typeshed import FileDescriptorOrPath
4038
except ImportError:
4139
pass
4240

41+
from io import TextIOWrapper
4342
from math import floor
4443

44+
from _typeshed import FileDescriptorOrPath
4545
from busio import SPI
4646
from digitalio import DigitalInOut, Direction
4747

0 commit comments

Comments
 (0)