Left: | ||
Right: |
LEFT | RIGHT |
---|---|
(no file at all) | |
1 x = object() | |
2 | |
3 | |
1 def make_dict(): | 4 def make_dict(): |
2 return { | 5 return { |
3 'foo': None, | 6 'foo': None, |
4 'bar': None, | 7 'bar': None, |
5 0: None, | 8 0: None, |
6 1: None, | 9 1: None, |
10 x: None, | |
7 | 11 |
8 # A207 | 12 # A207 |
9 'foo': None, | 13 'foo': None, |
10 # A207 | 14 # A207 |
11 ['bar' + ' '][0].strip(): None, | 15 ['bar' + ' '][0].strip(): None, |
12 # A207 | 16 # A207 |
13 0.0: None, | 17 0.0: None, |
14 # A207 | 18 # A207 |
15 True: None, | 19 True: None, |
20 # A207 | |
21 x: None, | |
22 # A207 | |
23 str('foo'): None, | |
16 } | 24 } |
17 | 25 |
18 | 26 |
19 def make_set(): | 27 def make_set(): |
20 return { | 28 return { |
21 'foo', | 29 'foo', |
22 'bar', | 30 'bar', |
23 0, | 31 0, |
24 1, | 32 1, |
33 x, | |
25 | 34 |
26 # A207 | 35 # A207 |
27 'foo', | 36 'foo', |
28 # A207 | 37 # A207 |
29 ['bar' + ' '][0].strip(), | 38 ['bar' + ' '][0].strip(), |
30 # A207 | 39 # A207 |
31 0.0, | 40 0.0, |
32 # A207 | 41 # A207 |
33 True, | 42 True, |
43 # A207 | |
44 x, | |
45 # A207 | |
46 str('foo'), | |
34 } | 47 } |
LEFT | RIGHT |