mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
Fix speling and grandma mistakes
Several in WaitableInputDevice's attribute docstrings.
This commit is contained in:
@@ -149,8 +149,8 @@ class WaitableInputDevice(InputDevice):
|
|||||||
This can be set to a function which accepts no (mandatory) parameters,
|
This can be set to a function which accepts no (mandatory) parameters,
|
||||||
or a Python function which accepts a single mandatory parameter (with
|
or a Python function which accepts a single mandatory parameter (with
|
||||||
as many optional parameters as you like). If the function accepts a
|
as many optional parameters as you like). If the function accepts a
|
||||||
single mandatory parameter, the device that activates will be passed as
|
single mandatory parameter, the device that activated will be passed
|
||||||
that parameter.
|
as that parameter.
|
||||||
|
|
||||||
Set this property to `None` (the default) to disable the event.
|
Set this property to `None` (the default) to disable the event.
|
||||||
|
|
||||||
@@ -169,10 +169,10 @@ class WaitableInputDevice(InputDevice):
|
|||||||
inactive.
|
inactive.
|
||||||
|
|
||||||
This can be set to a function which accepts no (mandatory) parameters,
|
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
|
as many optional parameters as you like). If the function accepts a
|
||||||
single mandatory parameter, the device the deactives will be passed as
|
single mandatory parameter, the device that deactivated will be
|
||||||
that parameter.
|
passed as that parameter.
|
||||||
|
|
||||||
Set this property to `None` (the default) to disable the event.
|
Set this property to `None` (the default) to disable the event.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user