@@ -111,7 +111,7 @@ STATIC mp_obj_t audioio_audioout_make_new(const mp_obj_type_t *type, size_t n_ar
111111 return MP_OBJ_FROM_PTR (self );
112112}
113113
114- //| def deinit(self, ) -> None:
114+ //| def deinit(self) -> None:
115115//| """Deinitialises the AudioOut and releases any hardware resources for reuse."""
116116//| ...
117117//|
@@ -127,13 +127,13 @@ STATIC void check_for_deinit(audioio_audioout_obj_t *self) {
127127 raise_deinited_error ();
128128 }
129129}
130- //| def __enter__(self, ) -> AudioOut:
130+ //| def __enter__(self) -> AudioOut:
131131//| """No-op used by Context Managers."""
132132//| ...
133133//|
134134// Provided by context manager helper.
135135
136- //| def __exit__(self, ) -> None:
136+ //| def __exit__(self) -> None:
137137//| """Automatically deinitializes the hardware when exiting a context. See
138138//| :ref:`lifetime-and-contextmanagers` for more info."""
139139//| ...
@@ -175,7 +175,7 @@ STATIC mp_obj_t audioio_audioout_obj_play(size_t n_args, const mp_obj_t *pos_arg
175175}
176176MP_DEFINE_CONST_FUN_OBJ_KW (audioio_audioout_play_obj , 1 , audioio_audioout_obj_play );
177177
178- //| def stop(self, ) -> None:
178+ //| def stop(self) -> None:
179179//| """Stops playback and resets to the start of the sample."""
180180//| ...
181181//|
@@ -204,7 +204,7 @@ const mp_obj_property_t audioio_audioout_playing_obj = {
204204 (mp_obj_t )& mp_const_none_obj },
205205};
206206
207- //| def pause(self, ) -> None:
207+ //| def pause(self) -> None:
208208//| """Stops playback temporarily while remembering the position. Use `resume` to resume playback."""
209209//| ...
210210//|
@@ -220,7 +220,7 @@ STATIC mp_obj_t audioio_audioout_obj_pause(mp_obj_t self_in) {
220220}
221221MP_DEFINE_CONST_FUN_OBJ_1 (audioio_audioout_pause_obj , audioio_audioout_obj_pause );
222222
223- //| def resume(self, ) -> None:
223+ //| def resume(self) -> None:
224224//| """Resumes sample playback after :py:func:`pause`."""
225225//| ...
226226//|
0 commit comments