mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-08 19:34:12 +01:00
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...
This commit is contained in:
parent
01f3d88788
commit
a964b7bfd0
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class BaseFilter(object):
|
|||
(so remember to initialize your filter classes).
|
||||
"""
|
||||
|
||||
def __init__(self, *args, name=None):
|
||||
def __init__(self, name=None):
|
||||
self.name = name
|
||||
|
||||
def __call__(self, message):
|
||||
|
|
Loading…
Reference in a new issue