Message111362
| Author |
daniel.urban |
| Recipients |
daniel.urban, eric.araujo, rhettinger, stutzbach |
| Date |
2010年07月23日.16:47:34 |
| SpamBayes Score |
0.0001164474 |
| Marked as misclassified |
No |
| Message-id |
<1279903656.19.0.363254084293.issue9212@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|