events: typos in docstring

This commit is contained in:
Marek Marczykowski-Górecki 2017-06-23 12:15:31 +02:00
parent 3c4b60fa45
commit aed6de4937
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -164,7 +164,7 @@ class Emitter(object, metaclass=EmitterMeta):
def fire_event(self, event, **kwargs): def fire_event(self, event, **kwargs):
'''Call all handlers for an event. '''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 method resolution order. For each class first are called bound handlers
(specified in class definition), then handlers from extensions. Aside (specified in class definition), then handlers from extensions. Aside
from above, remaining order is undefined. from above, remaining order is undefined.
@ -172,7 +172,7 @@ class Emitter(object, metaclass=EmitterMeta):
.. seealso:: .. seealso::
:py:meth:`fire_event_pre` :py:meth:`fire_event_pre`
:param str event: event identificator :param str event: event identifier
:returns: list of effects :returns: list of effects
All *kwargs* are passed verbatim. They are different for different 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): def fire_event_pre(self, event, **kwargs):
'''Call all handlers for an event. '''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 method resolution order. This is intended for ``-pre-`` events, where
order of invocation should be reversed. order of invocation should be reversed.
.. seealso:: .. seealso::
:py:meth:`fire_event` :py:meth:`fire_event`
:param str event: event identificator :param str event: event identifier
:returns: list of effects :returns: list of effects
All *kwargs* are passed verbatim. They are different for different All *kwargs* are passed verbatim. They are different for different