Left: | ||
Right: |
OLD | NEW |
---|---|
1 # A201 | 1 # A201 |
2 global a | 2 global a |
3 a = 1 | 3 a = 1 |
4 | 4 |
5 | 5 |
6 class Foo: | 6 class Foo: |
7 global a | 7 global a |
8 # A201 | 8 # A201 |
9 global a, b | 9 global a, b |
10 a = 2 | 10 a = 2 |
(...skipping 24 matching lines...) Expand all Loading... | |
35 pass | 35 pass |
36 return Class | 36 return Class |
37 | 37 |
38 | 38 |
39 def lazy_function(): | 39 def lazy_function(): |
40 global func | 40 global func |
41 if func is None: | 41 if func is None: |
42 def func(): | 42 def func(): |
43 pass | 43 pass |
44 return func | 44 return func |
OLD | NEW |