diff options
Diffstat (limited to 'pygments/token.py')
-rw-r--r-- | pygments/token.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/token.py b/pygments/token.py index 66183955..f45ac284 100644 --- a/pygments/token.py +++ b/pygments/token.py @@ -26,8 +26,8 @@ class _TokenType(tuple): buf.reverse() return buf - def __init__(self, *args, **kwargs): - super(_TokenType, self).__init__(*args, **kwargs) + def __init__(self, *args): + # no need to call super.__init__ self.subtypes = set() def __contains__(self, val): |