circuitpython/tests/basics/frozenset_copy.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
169 B
Python
Raw Normal View History

try:
frozenset
except NameError:
print("SKIP")
raise SystemExit
s = frozenset({1, 2, 3, 4})
t = s.copy()
print(type(t))
for i in s, t:
print(sorted(i))