mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Remove type hint for 2.x and PyPy python compatibility
This commit is contained in:
parent
333949683f
commit
424c77fd2c
@ -34,7 +34,7 @@ class Handler:
|
||||
"""
|
||||
Class for (next step|reply) handlers
|
||||
"""
|
||||
def __init__(self, callback: 'function', *args, **kwargs):
|
||||
def __init__(self, callback, *args, **kwargs):
|
||||
self.callback = callback
|
||||
self.args = args
|
||||
self.kwargs = kwargs
|
||||
|
Loading…
Reference in New Issue
Block a user