Skip to content

Commit 4249736

Browse files
joeljwilliamstsnoam
authored andcommitted
Correct documentation of Dispatcher.add_handler (python-telegram-bot#1071)
1 parent b77b329 commit 4249736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/ext/dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def add_handler(self, handler, group=DEFAULT_GROUP):
308308
A handler must be an instance of a subclass of :class:`telegram.ext.Handler`. All handlers
309309
are organized in groups with a numeric value. The default group is 0. All groups will be
310310
evaluated for handling an update, but only 0 or 1 handler per group will be used. If
311-
:class:`telegram.DispatcherHandlerStop` is raised from one of the handlers, no further
311+
:class:`telegram.ext.DispatcherHandlerStop` is raised from one of the handlers, no further
312312
handlers (regardless of the group) will be called.
313313
314314
The priority/order of handlers is determined as follows:

0 commit comments

Comments
 (0)