mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix docstring in filter unregistration method
This commit is contained in:
parent
09a3eb3ea1
commit
6645cf5842
2 changed files with 2 additions and 2 deletions
|
|
@ -1240,7 +1240,7 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
|
|||
|
||||
def unbind_filter(self, callback: typing.Union[typing.Callable, AbstractFilter]):
|
||||
"""
|
||||
Unregister callback
|
||||
Unregister filter
|
||||
|
||||
:param callback: callable of subclass of :obj:`AbstractFilter`
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class FiltersFactory:
|
|||
|
||||
def unbind(self, callback: typing.Union[typing.Callable, AbstractFilter]):
|
||||
"""
|
||||
Unregister callback
|
||||
Unregister filter
|
||||
|
||||
:param callback: callable of subclass of :obj:`AbstractFilter`
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue