summaryrefslogtreecommitdiff
path: root/shared-bindings/audiocore
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-02 13:28:36 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-02 13:28:36 -0400
commit54cb1feea04c0c93afe40868bc050ff7f645c61e (patch)
tree7add74472e4e33fb2a0c4c9d59cc48ce87b48255 /shared-bindings/audiocore
parent522b17ca93d4e1d64bb113057c8a62992a22c4ab (diff)
Removed all 'self, )'
Diffstat (limited to 'shared-bindings/audiocore')
-rw-r--r--shared-bindings/audiocore/RawSample.c6
-rw-r--r--shared-bindings/audiocore/WaveFile.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/shared-bindings/audiocore/RawSample.c b/shared-bindings/audiocore/RawSample.c
index dec029bf4..dc5cfd820 100644
--- a/shared-bindings/audiocore/RawSample.c
+++ b/shared-bindings/audiocore/RawSample.c
@@ -101,7 +101,7 @@ STATIC mp_obj_t audioio_rawsample_make_new(const mp_obj_type_t *type, size_t n_a
return MP_OBJ_FROM_PTR(self);
}
-//| def deinit(self, ) -> None:
+//| def deinit(self) -> None:
//| """Deinitialises the AudioOut and releases any hardware resources for reuse."""
//| ...
//|
@@ -118,13 +118,13 @@ STATIC void check_for_deinit(audioio_rawsample_obj_t *self) {
}
}
-//| def __enter__(self, ) -> RawSample:
+//| def __enter__(self) -> RawSample:
//| """No-op used by Context Managers."""
//| ...
//|
// Provided by context manager helper.
-//| def __exit__(self, ) -> None:
+//| def __exit__(self) -> None:
//| """Automatically deinitializes the hardware when exiting a context. See
//| :ref:`lifetime-and-contextmanagers` for more info."""
//| ...
diff --git a/shared-bindings/audiocore/WaveFile.c b/shared-bindings/audiocore/WaveFile.c
index 71ee78f78..4eed5eaca 100644
--- a/shared-bindings/audiocore/WaveFile.c
+++ b/shared-bindings/audiocore/WaveFile.c
@@ -91,7 +91,7 @@ STATIC mp_obj_t audioio_wavefile_make_new(const mp_obj_type_t *type, size_t n_ar
return MP_OBJ_FROM_PTR(self);
}
-//| def deinit(self, ) -> None:
+//| def deinit(self) -> None:
//| """Deinitialises the WaveFile and releases all memory resources for reuse."""
//| ...
STATIC mp_obj_t audioio_wavefile_deinit(mp_obj_t self_in) {
@@ -107,13 +107,13 @@ STATIC void check_for_deinit(audioio_wavefile_obj_t *self) {
}
}
-//| def __enter__(self, ) -> WaveFile:
+//| def __enter__(self) -> WaveFile:
//| """No-op used by Context Managers."""
//| ...
//|
// Provided by context manager helper.
-//| def __exit__(self, ) -> None:
+//| def __exit__(self) -> None:
//| """Automatically deinitializes the hardware when exiting a context. See
//| :ref:`lifetime-and-contextmanagers` for more info."""
//| ...