docstring format

This commit is contained in:
arofarn 2021-06-27 21:36:48 +02:00
parent 8555789621
commit fcb2a00a69

View File

@ -293,9 +293,9 @@ class NeoTrellisM4:
:param int key : key number from 0 to 16. :param int key : key number from 0 to 16.
:param int edge : specifies what edge to register an event on and can be :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, :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) self.set_event(key, edge, enable)