summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/ParallelBus.c
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-03 10:05:14 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-03 10:05:14 -0400
commit783cc4de398aba060eb69971c4aaf3453ee43500 (patch)
treec8d4da56195cfcb633351fa8c12ba9e023337fbd /shared-bindings/displayio/ParallelBus.c
parent9b4ffc05710873e69bfeed209d0f7ebd8fb2f259 (diff)
Added type hints to displayio
Diffstat (limited to 'shared-bindings/displayio/ParallelBus.c')
-rw-r--r--shared-bindings/displayio/ParallelBus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/displayio/ParallelBus.c b/shared-bindings/displayio/ParallelBus.c
index 0fff2e527..e3897a420 100644
--- a/shared-bindings/displayio/ParallelBus.c
+++ b/shared-bindings/displayio/ParallelBus.c
@@ -86,7 +86,7 @@ STATIC mp_obj_t displayio_parallelbus_make_new(const mp_obj_type_t *type, size_t
return self;
}
-//| def reset(self) -> Any:
+//| def reset(self) -> None:
//| """Performs a hardware reset via the reset pin. Raises an exception if called when no reset pin
//| is available."""
//| ...
@@ -102,7 +102,7 @@ STATIC mp_obj_t displayio_parallelbus_obj_reset(mp_obj_t self_in) {
}
MP_DEFINE_CONST_FUN_OBJ_1(displayio_parallelbus_reset_obj, displayio_parallelbus_obj_reset);
-//| def send(self, command: Any, data: Any) -> Any:
+//| def send(self, command: int, data: displayio) -> None:
//| """Sends the given command value followed by the full set of data. Display state, such as
//| vertical scroll, set via ``send`` may or may not be reset once the code is done."""
//| ...