Fix a couple of incorrect type annotations

h/t @justmobilize in https://github.com/adafruit/circuitpython/issues/8891
This commit is contained in:
Jeff Epler 2024-02-08 14:59:58 -08:00
parent 8210f22b9e
commit 9a71fdb93b
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ STATIC const uint16_t triangle[] = {0, 32767, 0, -32767};
//|
//| def __init__(
//| self,
//| waveform: ReadableBuffer = None,
//| waveform: Optional[ReadableBuffer] = None,
//| *,
//| rate: BlockInput = 1.0,
//| scale: BlockInput = 1.0,

View file

@ -65,7 +65,7 @@ static const mp_arg_t note_properties[] = {
//| filter: Optional[Biquad] = None,
//| ring_frequency: float = 0.0,
//| ring_bend: float = 0.0,
//| ring_waveform: Optional[ReadableBuffer] = 0.0,
//| ring_waveform: Optional[ReadableBuffer] = None,
//| ring_waveform_loop_start: int = 0,
//| ring_waveform_loop_end: int = waveform_max_length,
//| ) -> None: