From 04c30d1ad224cea8d74a0ad17057b28964866bf1 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Wed, 4 Nov 2015 15:30:22 +0000 Subject: [PATCH] Fix speling and grandma mistakes Several in WaitableInputDevice's attribute docstrings. --- gpiozero/input_devices.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gpiozero/input_devices.py b/gpiozero/input_devices.py index b78f8c0..cbff675 100644 --- a/gpiozero/input_devices.py +++ b/gpiozero/input_devices.py @@ -149,8 +149,8 @@ class WaitableInputDevice(InputDevice): This can be set to a function which accepts no (mandatory) parameters, or a Python function which accepts a single mandatory parameter (with as many optional parameters as you like). If the function accepts a - single mandatory parameter, the device that activates will be passed as - that parameter. + single mandatory parameter, the device that activated will be passed + as that parameter. Set this property to `None` (the default) to disable the event. @@ -169,10 +169,10 @@ class WaitableInputDevice(InputDevice): inactive. This can be set to a function which accepts no (mandatory) parameters, - or a Python function which accepts a single mandatory parameter (which + or a Python function which accepts a single mandatory parameter (with as many optional parameters as you like). If the function accepts a - single mandatory parameter, the device the deactives will be passed as - that parameter. + single mandatory parameter, the device that deactivated will be + passed as that parameter. Set this property to `None` (the default) to disable the event.