1
0
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:
Waffle 2018-05-27 16:54:56 +03:00
parent 333949683f
commit 424c77fd2c

View File

@ -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