Message213320
If this is undefined, and I think it should be, the docs should explicitly say so. How is this?
The union and intersection operations select elements which appear in both operands, e.g. set([a, b, c]) & set([c, d, e]) returns set([c]). The selection is performed by equality, not object identity, and which specific object is returned (the c object from the first set or the second set) is an implementation detail and cannot be relied on. |
|
Date |
User |
Action |
Args |
2014-03-12 22:46:20 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, stutzbach, r.david.murray, docs@python, Giacomo.Alzetta |
2014-03-12 22:46:20 | steven.daprano | set | messageid: <1394664380.11.0.813387581364.issue20902@psf.upfronthosting.co.za> |
2014-03-12 22:46:20 | steven.daprano | link | issue20902 messages |
2014-03-12 22:46:19 | steven.daprano | create | |
|