Skip to content
Snippets Groups Projects
Commit cfddb0cd authored by Peter Hutterer's avatar Peter Hutterer
Browse files

doc: remove duplicate docstring for InputEvent.code

parent ff2477a7
No related branches found
No related tags found
1 merge request!21doc: remove duplicate docstring for InputEvent.code
Pipeline #387144 passed
...@@ -46,10 +46,6 @@ class InputEvent(object): ...@@ -46,10 +46,6 @@ class InputEvent(object):
>>> e == InputEvent(libevdev.EV_REL.REL_X, value=2) >>> e == InputEvent(libevdev.EV_REL.REL_X, value=2)
False False
.. attribute:: code
The :class:`EventCode` or :class:`EventType` for this input event
.. attribute:: value .. attribute:: value
The (optional) value for the event's axis The (optional) value for the event's axis
...@@ -79,7 +75,7 @@ class InputEvent(object): ...@@ -79,7 +75,7 @@ class InputEvent(object):
@property @property
def code(self): def code(self):
""" """
:return: the EventCode for this event or None :return: The :class:`EventCode` or :class:`EventType` for this input event
:rtype: EventCode :rtype: EventCode
""" """
return self._code return self._code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment