Skip to content

Commit a964b7b

Browse files
committed
Okay, so not even *args followed by a kwarg is allowed on py2...
So just remove it for now. Better than doing annoying stuff with parsing a **kwargs dict in my opinion. It didn't even *really* need to be kwarg only anyways I guess...
1 parent 01f3d88 commit a964b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/ext/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class BaseFilter(object):
5353
(so remember to initialize your filter classes).
5454
"""
5555

56-
def __init__(self, *args, name=None):
56+
def __init__(self, name=None):
5757
self.name = name
5858

5959
def __call__(self, message):

0 commit comments

Comments
 (0)