branch | 3.5 |
changeset 3050 | f4c1994a749d |
parent 3002 | a9d7eaa07475 |
parent 3047 | ba86b1bdbcab |
child 3072 | 6fb42c53f6df |
child 3136 | ed303cf3a048 |
child 3165 | 0a50ebe53db7 |
--- a/entity.py Thu Aug 27 20:23:07 2009 +0200 +++ b/entity.py Fri Aug 28 14:15:36 2009 +0200 @@ -315,7 +315,7 @@ def __hash__(self): return id(self) - def __cmp__(self): + def __cmp__(self, other): raise NotImplementedError('comparison not implemented for %s' % self.__class__) def pre_add_hook(self):