Message111362
The attached patch adds the isdisjoint method to dict_keys and dict_items.
Pseudocode for the method:
def isdisjoint(self, other):
if self is other:
if len(self) == 0:
return True
else:
return False
else:
for item in other:
if item in self:
return False
return True |
|
Date |
User |
Action |
Args |
2010-07-23 16:47:36 | daniel.urban | set | recipients:
+ daniel.urban, rhettinger, stutzbach, eric.araujo |
2010-07-23 16:47:36 | daniel.urban | set | messageid: <1279903656.19.0.363254084293.issue9212@psf.upfronthosting.co.za> |
2010-07-23 16:47:34 | daniel.urban | link | issue9212 messages |
2010-07-23 16:47:34 | daniel.urban | create | |
|