From 5d61f0cfffa273f332bf8be4a9cf0a9930fae034 Mon Sep 17 00:00:00 2001 From: Victor Uriarte Date: Sat, 28 May 2016 11:06:32 -0700 Subject: Remove unused hash function from tokens.py --- sqlparse/tokens.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'sqlparse') diff --git a/sqlparse/tokens.py b/sqlparse/tokens.py index 98fa8a6..aa0b335 100644 --- a/sqlparse/tokens.py +++ b/sqlparse/tokens.py @@ -33,9 +33,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) -- cgit v1.2.1