__and__ (other) |
Return the intersection of two sets as a new set. |
__cmp__ (other) |
|
__contains__ (element) |
Report whether an element is a member of a set. |
__copy__ () |
Return a shallow copy of a set. |
__deepcopy__ (memo) |
Return a deep copy of a set; used by copy module. |
__eq__ (other) |
|
__format__ |
default object formatter |
__ge__ (other) |
Report whether this set contains another set. |
__getstate__ () |
|
__gt__ (other) |
|
__hash__ () |
|
__init__ ([iterable]) |
Construct an immutable set from an optional iterable. |
__iter__ () |
Return an iterator over the elements or a set. |
__le__ (other) |
Report whether another set contains this set. |
__len__ () |
Return the number of elements of a set. |
__lt__ (other) |
|
__ne__ (other) |
|
__new__ ((S, ...) |
|
__or__ (other) |
Return the union of two sets as a new set. |
__reduce__ |
helper for pickle |
__reduce_ex__ |
helper for pickle |
__repr__ () |
Return string representation of a set. |
__setstate__ (state) |
|
__sizeof__ (() -> int) |
size of object in memory, in bytes |
__str__ () |
Return string representation of a set. |
__sub__ (other) |
Return the difference of two sets as a new Set. |
__subclasshook__ |
Abstract classes can override this to customize issubclass(). |
__xor__ (other) |
Return the symmetric difference of two sets as a new set. |
_binary_sanity_check (other) |
|
_compute_hash () |
|
_repr ([sorted]) |
|
_update (iterable) |
|
copy () |
Return a shallow copy of a set. |
difference (other) |
Return the difference of two sets as a new Set. |
intersection (other) |
Return the intersection of two sets as a new set. |
issubset (other) |
Report whether another set contains this set. |
issuperset (other) |
Report whether this set contains another set. |
symmetric_difference (other) |
Return the symmetric difference of two sets as a new set. |
union (other) |
Return the union of two sets as a new set. |