Skip to content

Commit a2ffede

Browse files
committed
fix typing for play() function args
1 parent fb3a0dc commit a2ffede

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)