Left: | ||
Right: |
OLD | NEW |
---|---|
1 # * A101 | 1 # * A101 |
2 for i in (0, 1): | 2 for i in (0, 1): |
3 pass | 3 pass |
4 | 4 |
5 # * A101 | 5 # * A101 |
6 for i in {0, 1}: | 6 for i in {0, 1}: |
7 pass | 7 pass |
8 | 8 |
9 | 9 |
10 def make_list(): | 10 def make_list(): |
11 # * A101 | 11 # * A101 |
12 return [i for i in (0, 1)] | 12 return [i for i in (0, 1)] |
13 | 13 |
14 | 14 |
15 def make_generator(): | 15 def make_generator(): |
16 # * A101 | 16 # * A101 |
17 return (i for i in {0, 1}) | 17 return (i for i in {0, 1}) |
OLD | NEW |