From cdf43fd7885b017035350df14aa22d33a0a536c5 Mon Sep 17 00:00:00 2001 From: ksivaa <98091246+ksivaa@users.noreply.github.com> Date: Thu, 20 Jan 2022 15:06:48 +0200 Subject: [PATCH] Update docs/dispatcher/router.rst Co-authored-by: Evgen Fil --- docs/dispatcher/router.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dispatcher/router.rst b/docs/dispatcher/router.rst index e945a178..a7abeb69 100644 --- a/docs/dispatcher/router.rst +++ b/docs/dispatcher/router.rst @@ -15,7 +15,7 @@ Event observers All handlers always should be asynchronous. The name of the handler function is not important. The event argument name is also not important but it is recommended to not overlap the name with contextual data in due to function can not accept two arguments with the same name. -Here is the list of available observers and examples of how to register handlers (In examples used only @decorator-style): +Here is the list of available observers and examples of how to register handlers In these examples only decorator-style registering handlers are used, but if you don't like @decorators just use :obj:`.register(...)` method instead.