Skip to content

Commit 424c77f

Browse files
committed
Remove type hint for 2.x and PyPy python compatibility
1 parent 3339496 commit 424c77f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎telebot/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Handler:
3434
"""
3535
Class for (next step|reply) handlers
3636
"""
37-
def __init__(self, callback: 'function', *args, **kwargs):
37+
def __init__(self, callback, *args, **kwargs):
3838
self.callback = callback
3939
self.args = args
4040
self.kwargs = kwargs

0 commit comments

Comments
 (0)