summaryrefslogtreecommitdiff
path: root/shared-bindings/pulseio/PulseIn.c
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-03 14:23:34 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-03 14:23:34 -0400
commitd0d949cd24dbff5fb382f8c7abf3bae7ba46541a (patch)
treea3e4f4faae1858acef2f9095a7bf9650fd8c000c /shared-bindings/pulseio/PulseIn.c
parentd358c915c3d27469fc17bdc302dad393d7e28a09 (diff)
Made every init return None
Diffstat (limited to 'shared-bindings/pulseio/PulseIn.c')
-rw-r--r--shared-bindings/pulseio/PulseIn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/pulseio/PulseIn.c b/shared-bindings/pulseio/PulseIn.c
index 75ea1a80e..4bcff06ee 100644
--- a/shared-bindings/pulseio/PulseIn.c
+++ b/shared-bindings/pulseio/PulseIn.c
@@ -40,7 +40,7 @@
//| and low cost temperature sensors (DHT). The pulsed signal consists of timed active and
//| idle periods. Unlike PWM, there is no set duration for active and idle pairs."""
//|
-//| def __init__(self, pin: microcontroller.Pin, maxlen: int = 2, *, idle_state: bool = False):
+//| def __init__(self, pin: microcontroller.Pin, maxlen: int = 2, *, idle_state: bool = False) -> None:
//| """Create a PulseIn object associated with the given pin. The object acts as
//| a read-only sequence of pulse lengths with a given max length. When it is
//| active, new pulse lengths are added to the end of the list. When there is