summaryrefslogtreecommitdiff
path: root/pygments/token.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-18 17:43:48 +0200
committerGeorg Brandl <georg@python.org>2010-08-18 17:43:48 +0200
commita6c2538bb95c4a416759b19c2187fed4c87ee82f (patch)
tree40f71c984fc923267bcab0dec2a72b9b611881ef /pygments/token.py
parent0e2aa27515bfe44b10f54212f264a05fb046fd77 (diff)
parente051d8dc8f02e49cefbaaa030c14c9531951a678 (diff)
downloadpygments-a6c2538bb95c4a416759b19c2187fed4c87ee82f.tar.gz
merge branch
Diffstat (limited to 'pygments/token.py')
-rw-r--r--pygments/token.py3
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)