Skip to content

Commit

Permalink
Fix speling and grandma mistakes
Browse files Browse the repository at this point in the history
Several in WaitableInputDevice's attribute docstrings.
  • Loading branch information
waveform80 committed Nov 4, 2015
1 parent e51f3e1 commit a884325
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gpiozero/input_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def when_activated(self):
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 activates it will be passed
as that parameter.
Set this property to `None` (the default) to disable the event.
Expand All @@ -169,10 +169,10 @@ def when_deactivated(self):
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 deactivates it will be
passed as that parameter.
Set this property to `None` (the default) to disable the event.
Expand Down

0 comments on commit a884325

Please sign in to comment.