Skip to content

Commit

Permalink
events: typos in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jul 4, 2017
1 parent 3c4b60f commit aed6de4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qubes/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,15 @@ def _fire_event_in_order(self, order, event, kwargs):
def fire_event(self, event, **kwargs):
'''Call all handlers for an event.
Handlers are called for class and all parent classess, in **reversed**
Handlers are called for class and all parent classes, in **reversed**
method resolution order. For each class first are called bound handlers
(specified in class definition), then handlers from extensions. Aside
from above, remaining order is undefined.
.. seealso::
:py:meth:`fire_event_pre`
:param str event: event identificator
:param str event: event identifier
:returns: list of effects
All *kwargs* are passed verbatim. They are different for different
Expand All @@ -187,14 +187,14 @@ def fire_event(self, event, **kwargs):
def fire_event_pre(self, event, **kwargs):
'''Call all handlers for an event.
Handlers are called for class and all parent classess, in **true**
Handlers are called for class and all parent classes, in **true**
method resolution order. This is intended for ``-pre-`` events, where
order of invocation should be reversed.
.. seealso::
:py:meth:`fire_event`
:param str event: event identificator
:param str event: event identifier
:returns: list of effects
All *kwargs* are passed verbatim. They are different for different
Expand Down

0 comments on commit aed6de4

Please sign in to comment.