Skip to content

Commit f7c6c91

Browse files
authored
Merge pull request #27 from FoamyGuy/typing_fix
fix typing for play() function args
2 parents fb3a0dc + a2ffede commit f7c6c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rtttl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def _play_to_pin(
155155
def play(
156156
pin,
157157
rtttl: str,
158-
octave: int = Optional[None],
158+
octave: Optional[int] = None,
159159
duration: Optional[int] = None,
160160
tempo: Optional[int] = None,
161161
) -> None:

0 commit comments

Comments
 (0)