internal.types.collections.set

Source code: internal/types/collections/set.seq

class internal.types.collections.set.Set[K]

Magic methods:

__init__()
__init__(g: Generator[K])
__sub__(other: Set[K])
__isub__(other: Set[K])
__and__(other: Set[K])
__iand__(other: Set[K])
__or__(other: Set[K])
__ior__(other: Set[K])
__xor__(other: Set[K])
__ixor__(other: Set[K])
__contains__(key: K)
__eq__(other: Set[K])
__ne__(other: Set[K])
__le__(other: Set[K])
__ge__(other: Set[K])
__lt__(other: Set[K])
__gt__(other: Set[K])
__iter__()
__len__()
__bool__()
__copy__()
__str__()

Methods:

resize(new_n_buckets: int)
add(key: K)
update(other: Set[K])
remove(key: K)
pop()
discard(key: K)
difference(other: Set[K])
difference_update(other: Set[K])
intersection(other: Set[K])
intersection_update(other: Set[K])
symmetric_difference(other: Set[K])
symmetric_difference_update(other: Set[K])
union(other: Set[K])
isdisjoint(other: Set[K])
issubset(other: Set[K])
issuperset(other: Set[K])
clear()
copy()
internal.types.collections.set.set