From 207716b6cfb035f5ac8a41a41b70b211095ef7e0 Mon Sep 17 00:00:00 2001 From: Nocturn9x Date: Mon, 31 Jan 2022 12:34:30 +0100 Subject: [PATCH] Removed old inaccurate note from docstring --- asyncevents/events.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/asyncevents/events.py b/asyncevents/events.py index 52a375d..9d5d0b7 100644 --- a/asyncevents/events.py +++ b/asyncevents/events.py @@ -46,8 +46,6 @@ class AsyncEventEmitter: is a coroutine function, it is awaited with the AsyncEventEmitter instance and the event name as arguments. Defaults to UnknownEventHandling.IGNORE, which does nothing (other enum values are LOG, which prints a log message on the logging.WARNING level, and ERROR which raises an UnknownEvent exception) - Note: if the given callable is a coroutine, it is awaited, while it's called normally otherwise - and its return value is discarded :type on_unknown_event: Union[UnknownEventHandling, Callable[[AsyncEventEmitter, str], Coroutine[Any, Any, Any]]], optional :param mode: Tells the emitter how event handlers should be spawned. It should be an entry of the