index
:
micropython
master
parse-bytecode
v1.22-release
v1.24-release
MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
Aslak Raanes
summary
refs
log
tree
commit
diff
stats
homepage
log msg
author
committer
range
path:
root
/
tests
/
basics
/
set_copy.py
blob: 646fae0f26a973a74968ad6ccec6ec59463a6bad (
plain
) (
blame
)
1
2
3
4
5
6
s = {1, 2, 3, 4} t = s.copy() s.add(5) t.add(7) for i in s, t: print(sorted(i))