Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #91

Merged
merged 1 commit into from
Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyee/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EventEmitter:
this event do not fire upon their own creation.

- ``error``: When emitted raises an Exception by default, behavior can be
overriden by attaching callback to the event.
overridden by attaching callback to the event.

For example::

Expand Down
2 changes: 1 addition & 1 deletion tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_emit_return():


def test_new_listener_event():
"""The 'new_listener' event fires whenever a new listerner is added."""
"""The 'new_listener' event fires whenever a new listener is added."""

call_me = Mock()
ee = EventEmitter()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_uplift.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_exception_handling(error_handling):
base_ee = EventEmitter()
uplifted_ee = uplift(UpliftedEventEmitter, base_ee, error_handling=error_handling)

# Exception handling alwyas prefers uplifted
# Exception handling always prefers uplifted
base_error = Exception("base error")
uplifted_error = Exception("uplifted error")

Expand Down