allpy
diff allpy/base.py @ 420:438e1951f559
Backed out changeset 3a802644d798 (see #26)
author | boris <bnagaev@gmail.com> |
---|---|
date | Mon, 14 Feb 2011 12:06:30 +0300 |
parents | 3a802644d798 |
children | 42a05616a09b |
line diff
1.1 --- a/allpy/base.py Thu Feb 03 13:51:39 2011 +0300 1.2 +++ b/allpy/base.py Mon Feb 14 12:06:30 2011 +0300 1.3 @@ -135,14 +135,6 @@ 1.4 """Hash sequence by identity.""" 1.5 return id(self) 1.6 1.7 - def __eq__(self, other): 1.8 - """ equals operator by identity """ 1.9 - return id(self) == id(other) 1.10 - 1.11 - def __ne__(self, other): 1.12 - """ non-equals operator by identity """ 1.13 - return id(self) != id(other) 1.14 - 1.15 class Alignment(object): 1.16 """Alignment. It is a list of Columns.""" 1.17 1.18 @@ -402,14 +394,6 @@ 1.19 """Return hash by identity.""" 1.20 return id(self) 1.21 1.22 - def __eq__(self, other): 1.23 - """ equals operator by identity """ 1.24 - return id(self) == id(other) 1.25 - 1.26 - def __ne__(self, other): 1.27 - """ non-equals operator by identity """ 1.28 - return id(self) != id(other) 1.29 - 1.30 class Block(Alignment): 1.31 """Block of alignment. 1.32