We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e3b14 commit d6da0b8Copy full SHA for d6da0b8
testsuite/E40.py
@@ -11,3 +11,28 @@
11
12
import myclass
13
import foo.bar.yourclass
14
+#: E402
15
+__all__ = ['abc']
16
+
17
+import foo
18
+#: Okay
19
+try:
20
+ import foo
21
+except:
22
+ pass
23
+else:
24
+ print('imported foo')
25
+finally:
26
+ print('made attempt to import foo')
27
28
+import bar
29
30
+VERSION = '1.2.3'
31
32
33
34
35
36
+a = 1
37
38
0 commit comments