| 1 |
union |
| 2 |
intersection |
| 3 |
difference |
| 4 |
symmetric_difference(other) |
| 5 |
set ^ other |
| 6 |
|
| 7 |
Return a new set with elements in either the set or other but not both |
| 8 |
|
| 9 |
|
| 10 |
issubset(other) |
| 11 |
set <= other |
| 12 |
|
| 13 |
Test whether every element in the set is in other. |
| 14 |
|
| 15 |
set < other |
| 16 |
|
| 17 |
Test whether the set is a proper subset of other, that is, set <= other and set != other. |
| 18 |
|
| 19 |
issuperset(other) |
| 20 |
set >= other |
| 21 |
|
| 22 |
Test whether every element in other is in the set. |
| 23 |
|
| 24 |
set > other |
| 25 |
|
| 26 |
Test whether the set is a proper superset of other, that is, set >= other and set != other. |