Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Dec 3, 2024
1 parent 1d4b881 commit 155c41c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stimuli/keyboard/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class KeyEvent:
"""Object representing a keyboard event.
Attributes
Parameters
----------
key : str
The string representation of the key.
Expand All @@ -20,6 +20,8 @@ class KeyEvent:
Notes
-----
The parameters are accessible as attributes of the object.
The time reference is ``t0``, the instantiation time of the
:class:`~stimuli.keyboard.Keyboard` object or the reset with
:meth:`~stimuli.keyboard.Keyboard.reset`.
Expand Down

0 comments on commit 155c41c

Please sign in to comment.