Skip to content

Commit 9a71fdb

Browse files
committed
Fix a couple of incorrect type annotations
h/t @justmobilize in #8891
1 parent 8210f22 commit 9a71fdb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shared-bindings/synthio/LFO.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ STATIC const uint16_t triangle[] = {0, 32767, 0, -32767};
6262
//|
6363
//| def __init__(
6464
//| self,
65-
//| waveform: ReadableBuffer = None,
65+
//| waveform: Optional[ReadableBuffer] = None,
6666
//| *,
6767
//| rate: BlockInput = 1.0,
6868
//| scale: BlockInput = 1.0,

shared-bindings/synthio/Note.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static const mp_arg_t note_properties[] = {
6565
//| filter: Optional[Biquad] = None,
6666
//| ring_frequency: float = 0.0,
6767
//| ring_bend: float = 0.0,
68-
//| ring_waveform: Optional[ReadableBuffer] = 0.0,
68+
//| ring_waveform: Optional[ReadableBuffer] = None,
6969
//| ring_waveform_loop_start: int = 0,
7070
//| ring_waveform_loop_end: int = waveform_max_length,
7171
//| ) -> None:

0 commit comments

Comments
 (0)