Message267753
Why would you need this?
Also, would it interfere with super's ability to use the __eq__ method for a parent class?
class A:
def __eq__(self, other):
return True
class B(A):
def __eq__(self, other):
return super(B, self).__eq__(other)
print(B() == B()) |
|
Date |
User |
Action |
Args |
2016-06-07 23:16:59 | rhettinger | set | recipients:
+ rhettinger, JelleZijlstra |
2016-06-07 23:16:59 | rhettinger | set | messageid: <1465341419.95.0.620948678032.issue27260@psf.upfronthosting.co.za> |
2016-06-07 23:16:59 | rhettinger | link | issue27260 messages |
2016-06-07 23:16:59 | rhettinger | create | |
|