diff --git a/libevdev/event.py b/libevdev/event.py index 0e861458b8c228548f6b70784c3f275594886b3b..1178413dd4a8058ae172904655c15a0de0d9b960 100644 --- a/libevdev/event.py +++ b/libevdev/event.py @@ -46,10 +46,6 @@ class InputEvent(object): >>> e == InputEvent(libevdev.EV_REL.REL_X, value=2) False - .. attribute:: code - - The :class:`EventCode` or :class:`EventType` for this input event - .. attribute:: value The (optional) value for the event's axis @@ -79,7 +75,7 @@ class InputEvent(object): @property def code(self): """ - :return: the EventCode for this event or None + :return: The :class:`EventCode` or :class:`EventType` for this input event :rtype: EventCode """ return self._code