set(iterable) --> set object
Build an unordered collection.
There are no implemented interfaces.
There are no attributes in this class.
add(...)
Add an element to a set.
This has no effect if the element is already present.
clear(...)
Remove all elements from this set.
copy(...)
Return a shallow copy of a set.
difference(...)
Return the difference of two sets as a new set.
(i.e. all elements that are in this set but not the other.)
difference_update(...)
Remove all elements of another set from this set.
discard(...)
Remove an element from a set if it is a member.
If the element is not a member, do nothing.
intersection(...)
Return the intersection of two sets as a new set.
(i.e. all elements that are in both sets.)
intersection_update(...)
Update a set with the intersection of itself and another.
issubset(...)
Report whether another set contains this set.
issuperset(...)
Report whether this set contains another set.
pop(...)
Remove and return an arbitrary set element.
remove(...)
Remove an element from a set; it must be a member.
If the element is not a member, raise a KeyError.
symmetric_difference(...)
Return the symmetric difference of two sets as a new set.
(i.e. all elements that are in exactly one of the sets.)
symmetric_difference_update(...)
Update a set with the symmetric difference of itself and another.
union(...)
Return the union of two sets as a new set.
(i.e. all elements that are in either set.)
update(...)
Update a set with the union of itself and another.
There are no known subclasses.