PyDocs

Nav

Python Runtime Services

frozenset

  • frozenset(iterable=(), /)
Build an immutable unordered collection of unique elements.
Members of frozenset

c

copy
Return a shallow copy of a set.

d

difference
Return a new set with elements in the set that are not in the others.

i

intersection
Return a new set with elements common to the set and all others.
isdisjoint
Return True if two sets have a null intersection.
issubset
Report whether another set contains this set.
issuperset
Report whether this set contains another set.

s

symmetric_difference
Return a new set with elements in either the set or other but not both.

u

union
Return a new set with elements from the set and all others.
0 Examples
No examples for builtins/frozenset.
See Also
No see-alsos for builtins/frozenset
0 Notes
No notes for frozenset