diff options
author | Georg Brandl <georg@python.org> | 2010-08-18 17:43:48 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-18 17:43:48 +0200 |
commit | a6c2538bb95c4a416759b19c2187fed4c87ee82f (patch) | |
tree | 40f71c984fc923267bcab0dec2a72b9b611881ef /pygments/token.py | |
parent | 0e2aa27515bfe44b10f54212f264a05fb046fd77 (diff) | |
parent | e051d8dc8f02e49cefbaaa030c14c9531951a678 (diff) | |
download | pygments-a6c2538bb95c4a416759b19c2187fed4c87ee82f.tar.gz |
merge branch
Diffstat (limited to 'pygments/token.py')
-rw-r--r-- | pygments/token.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pygments/token.py b/pygments/token.py index 4815ddfb..1f513923 100644 --- a/pygments/token.py +++ b/pygments/token.py @@ -40,9 +40,6 @@ class _TokenType(tuple): new.parent = self return new - def __hash__(self): - return hash(tuple(self)) - def __repr__(self): return 'Token' + (self and '.' or '') + '.'.join(self) |