|
|
|
|
|
|
|
|
|
|
|
|
|
items(self)
Returns a list of the elements in the set. |
source code
|
|
|
add(self,
elem)
Add one element to the set. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
__sub__(self,
other)
Difference of two sets. |
source code
|
|
|
__and__(self,
other)
Intersection of two sets. |
source code
|
|
|
__add__(self,
other)
Symmetric difference of two sets. |
source code
|
|
|
__mul__(self,
other)
Cartesian product of two sets. |
source code
|
|
|
__lt__(self,
other)
Returns 1 if the lhs set is contained but not equal to the rhs set. |
source code
|
|
|
__le__(self,
other)
Returns 1 if the lhs set is contained in the rhs set. |
source code
|
|
|
__eq__(self,
other)
Returns 1 if the sets are equal. |
source code
|
|
|
__cmp__(self,
other)
Returns 1 if the sets are equal. |
source code
|
|