Correct documentation of Dispatcher.add_handler (#1071)

This commit is contained in:
Joel Williams 2018-04-17 06:42:09 +02:00 committed by Noam Meltzer
parent b77b329dd6
commit 42497367c1

View file

@ -308,7 +308,7 @@ class Dispatcher(object):
A handler must be an instance of a subclass of :class:`telegram.ext.Handler`. All handlers 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 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 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. handlers (regardless of the group) will be called.
The priority/order of handlers is determined as follows: The priority/order of handlers is determined as follows: