docstring format

This commit is contained in:
arofarn 2021-06-27 20:57:44 +02:00
parent c108e00dcf
commit 04218966a8
1 changed files with 3 additions and 3 deletions

View File

@ -289,13 +289,13 @@ class NeoTrellisM4:
def activate_key(self, key, edge, enable=True):
"""
Activate or deactivate a key on the trellis.
Activate or deactivate a key on the trellis
:param int key : key number from 0 to 16.
:param int edge : specifies what edge to register an event on and can be
NeoTrellis.EDGE_FALLING or NeoTrellis.EDGE_RISING.
NeoTrellis.EDGE_FALLING or NeoTrellis.EDGE_RISING.
:param bool enable : should be set to True if the event is to be enabled,
or False if the event is to be disabled.
or False if the event is to be disabled.
"""
self.set_event(key, edge, enable)