summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/set_update.py
blob: 78cd763560cf51d91727482816c035514d56a769 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
def report(s):
    l = list(s)
    l.sort()
    print(l)

s = {1}
s.update()
report(s)
s.update([2])
report(s)
s.update([1,3], [2,2,4])
report(s)