Skip to content

Commit

Permalink
fix spelling typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mscheltienne committed Dec 2, 2024
1 parent e712854 commit 50dcfa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stimuli/keyboard/_keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _on_press_callback(self, key: Key | KeyCode | None) -> None:
self._on_press(key)
except Exception as error:
logger.error(
"An error occured in the user-defined on_press callback "
"An error occurred in the user-defined on_press callback "
"when processing a press event for key %s.",
key_str,
)
Expand Down Expand Up @@ -223,7 +223,7 @@ def _on_release_callback(self, key: Key | KeyCode | None) -> None:
self._on_release(key)
except Exception as error:
logger.error(
"An error occured in the user-defined on_release callback "
"An error occurred in the user-defined on_release callback "
"when processing a release event for key %s.",
key_str,
)
Expand Down
2 changes: 1 addition & 1 deletion stimuli/keyboard/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class KeyEvent:
Notes
-----
The time reference is ``t0``, the instantation time of the
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 50dcfa8

Please sign in to comment.