Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/diff/42a05616a09b/allpy/base.py
Дата изменения: Unknown
Дата индексирования: Sat Mar 1 14:57:23 2014
Кодировка:
allpy: allpy/base.py diff

allpy

diff allpy/base.py @ 421:42a05616a09b

merge
author boris <bnagaev@gmail.com>
date Mon, 14 Feb 2011 12:07:08 +0300
parents a4d7438c142f 438e1951f559
children 8cd65dc65e99
line diff
     1.1 --- a/allpy/base.py	Fri Feb 11 19:15:58 2011 +0300
     1.2 +++ b/allpy/base.py	Mon Feb 14 12:07:08 2011 +0300
     1.3 @@ -133,14 +133,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 @@ -412,14 +404,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