Doc tweak

The default value should only be documented for the init-method, not on the property itself
This commit is contained in:
Andrew Scheller
2016-06-06 03:30:23 +01:00
parent 8b81057f8b
commit d3071a2780

View File

@@ -50,7 +50,7 @@ class InputDevice(GPIODevice):
def pull_up(self):
"""
If ``True``, the device uses a pull-up resistor to set the GPIO pin
"high" by default. Defaults to ``False``.
"high" by default.
"""
return self.pin.pull == 'up'