Skip to content

Commit 2f401b7

Browse files
authored
Use parens instead of escaped newline
1 parent 436240f commit 2f401b7

File tree

1 file changed

+2
-2
lines changed
  • CircuitPython_Essentials/Pin_Map_Script

1 file changed

+2
-2
lines changed

CircuitPython_Essentials/Pin_Map_Script/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
board_pins = []
1414
for pin in dir(microcontroller.pin):
15-
if isinstance(getattr(microcontroller.pin, pin), microcontroller.Pin) or \
16-
(cyw43 and isinstance(getattr(microcontroller.pin, pin), cyw43.CywPin)):
15+
if (isinstance(getattr(microcontroller.pin, pin), microcontroller.Pin) or
16+
(cyw43 and isinstance(getattr(microcontroller.pin, pin), cyw43.CywPin))):
1717
pins = []
1818
# uncomment to show microcontroller pins
1919
# pins.append("microcontroller.{}\t".format(pin))

0 commit comments

Comments
 (0)