Skip to content

Commit

Permalink
Correct documentation of Dispatcher.add_handler (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeljwilliams authored and tsnoam committed Apr 17, 2018
1 parent b77b329 commit 4249736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/ext/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def add_handler(self, handler, group=DEFAULT_GROUP):
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:
Expand Down

0 comments on commit 4249736

Please sign in to comment.