Left: | ||
Right: |
OLD | NEW |
---|---|
1 # A105 | 1 # A105 |
2 list([1]) | 2 list([1]) |
3 # A105 | 3 # A105 |
4 list((1,)) | 4 list((1,)) |
5 # A105 | 5 # A105 |
6 tuple([1]) | 6 tuple([1]) |
7 # A105 | 7 # A105 |
8 tuple((1,)) | 8 tuple((1,)) |
9 # A105 | 9 # A105 |
10 set([1]) | 10 set([1]) |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
50 | 50 |
51 | 51 |
52 def make_unique(x): | 52 def make_unique(x): |
53 tuple({y for y in x}) | 53 tuple({y for y in x}) |
54 list({y for y in x}) | 54 list({y for y in x}) |
55 | 55 |
56 | 56 |
57 tuple([x for x in range(10)]) | 57 tuple([x for x in range(10)]) |
58 tuple(x for x in range(10)) | 58 tuple(x for x in range(10)) |
59 tuple({x for x in range(10)}) | 59 tuple({x for x in range(10)}) |
OLD | NEW |