From 42497367c1209e417d1867548dd5c42d3b293174 Mon Sep 17 00:00:00 2001 From: Joel Williams Date: Tue, 17 Apr 2018 06:42:09 +0200 Subject: [PATCH] Correct documentation of Dispatcher.add_handler (#1071) --- telegram/ext/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram/ext/dispatcher.py b/telegram/ext/dispatcher.py index 615e97cfe..7756770b7 100644 --- a/telegram/ext/dispatcher.py +++ b/telegram/ext/dispatcher.py @@ -308,7 +308,7 @@ class Dispatcher(object): A handler must be an instance of a subclass of :class:`telegram.ext.Handler`. All handlers are organized in groups with a numeric value. The default group is 0. All groups will be evaluated for handling an update, but only 0 or 1 handler per group will be used. If - :class:`telegram.DispatcherHandlerStop` is raised from one of the handlers, no further + :class:`telegram.ext.DispatcherHandlerStop` is raised from one of the handlers, no further handlers (regardless of the group) will be called. The priority/order of handlers is determined as follows: