From aed6de49376c2d501d2707af4e9dad9fa9883bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 23 Jun 2017 12:15:31 +0200 Subject: [PATCH] events: typos in docstring --- qubes/events.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qubes/events.py b/qubes/events.py index ca111876..0e6c7f9f 100644 --- a/qubes/events.py +++ b/qubes/events.py @@ -164,7 +164,7 @@ class Emitter(object, metaclass=EmitterMeta): 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. @@ -172,7 +172,7 @@ class Emitter(object, metaclass=EmitterMeta): .. 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 @@ -187,14 +187,14 @@ class Emitter(object, metaclass=EmitterMeta): 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