OLD | NEW |
| (Empty) |
1 | |
2 import toplevel_existing | |
3 import toplevel_nonexisting | |
4 | |
5 class MyClass: | |
6 import toplevel_class_existing | |
7 import toplevel_class_nonexisting | |
8 | |
9 if a == b: | |
10 import toplevel_conditional_existing | |
11 import toplevel_conditional_nonexisting | |
12 | |
13 try: | |
14 import toplevel_conditional_import_existing | |
15 import toplevel_conditional_import_nonexisting | |
16 except: | |
17 import toplevel_conditional_import2_existing | |
18 import toplevel_conditional_import2_nonexisting | |
19 | |
20 try: | |
21 import toplevel_import_existing | |
22 import toplevel_import_nonexisting | |
23 except: | |
24 import toplevel_import2_existing | |
25 import toplevel_import2_nonexisting | |
26 | |
27 def function(): | |
28 import function_existing | |
29 import function_nonexisting | |
30 | |
31 class MyClass: | |
32 import function_class_existing | |
33 import function_class_nonexisting | |
34 | |
35 if a == b: | |
36 import function_conditional_existing | |
37 import function_conditional_nonexisting | |
38 | |
39 try: | |
40 import function_conditional_import_existing | |
41 import function_conditional_import_nonexisting | |
42 except: | |
43 import function_conditional_import2_existing | |
44 import function_conditional_import2_nonexisting | |
45 | |
46 try: | |
47 import function_import_existing | |
48 import function_import_nonexisting | |
49 except: | |
50 import function_import2_existing | |
51 import function_import2_nonexisting | |
OLD | NEW |