Skip to content

Commit 100ec29

Browse files
authored
Merge pull request #35 from adafruit/tannewt-patch-1
Use a tuple so that POSITIONS can be long lived.
2 parents 1eb9d08 + 9f1c356 commit 100ec29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ht16k33/segments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def _number(self, number):
215215
class Seg7x4(Seg14x4):
216216
"""Numeric 7-segment display. It has the same methods as the alphanumeric display, but only
217217
supports displaying a limited set of characters."""
218-
POSITIONS = [0, 2, 6, 8] # The positions of characters.
218+
POSITIONS = (0, 2, 6, 8) # The positions of characters.
219219

220220
def scroll(self, count=1):
221221
"""Scroll the display by specified number of places."""

0 commit comments

Comments
 (0)