mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2021-05-13 03:08:02 +03:00
Remove type hint for 2.x and PyPy python compatibility
This commit is contained in:
@@ -34,7 +34,7 @@ class Handler:
|
|||||||
"""
|
"""
|
||||||
Class for (next step|reply) handlers
|
Class for (next step|reply) handlers
|
||||||
"""
|
"""
|
||||||
def __init__(self, callback: 'function', *args, **kwargs):
|
def __init__(self, callback, *args, **kwargs):
|
||||||
self.callback = callback
|
self.callback = callback
|
||||||
self.args = args
|
self.args = args
|
||||||
self.kwargs = kwargs
|
self.kwargs = kwargs
|
||||||
|
|||||||
Reference in New Issue
Block a user