diff options
author | gbrandl <devnull@localhost> | 2007-08-17 07:45:32 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-08-17 07:45:32 +0200 |
commit | 5b9f5540856fc18c22348f4346817d9d39a920f8 (patch) | |
tree | 52aae43c8d1e801c3ca1238ce01f5b2d566609c5 /pygments/token.py | |
parent | 769751f93a39431f417c2d03944f84f7cf42b71e (diff) | |
download | pygments-5b9f5540856fc18c22348f4346817d9d39a920f8.tar.gz |
[svn] Fix in the Python lexer, 2.6 compatibility fixes.
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): |