diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 13:28:36 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 13:28:36 -0400 |
| commit | 54cb1feea04c0c93afe40868bc050ff7f645c61e (patch) | |
| tree | 7add74472e4e33fb2a0c4c9d59cc48ce87b48255 /shared-bindings/analogio/AnalogOut.c | |
| parent | 522b17ca93d4e1d64bb113057c8a62992a22c4ab (diff) | |
Removed all 'self, )'
Diffstat (limited to 'shared-bindings/analogio/AnalogOut.c')
| -rw-r--r-- | shared-bindings/analogio/AnalogOut.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-bindings/analogio/AnalogOut.c b/shared-bindings/analogio/AnalogOut.c index c8f7bc5d7..9523b91a9 100644 --- a/shared-bindings/analogio/AnalogOut.c +++ b/shared-bindings/analogio/AnalogOut.c @@ -66,7 +66,7 @@ STATIC mp_obj_t analogio_analogout_make_new(const mp_obj_type_t *type, mp_uint_t return MP_OBJ_FROM_PTR(self); } -//| def deinit(self, ) -> None: +//| def deinit(self) -> None: //| """Turn off the AnalogOut and release the pin for other use.""" //| ... //| @@ -79,13 +79,13 @@ STATIC mp_obj_t analogio_analogout_deinit(mp_obj_t self_in) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(analogio_analogout_deinit_obj, analogio_analogout_deinit); -//| def __enter__(self, ) -> AnalogOut: +//| def __enter__(self) -> AnalogOut: //| """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.""" //| ... |
