Thanks to visit codestin.com Credit goes to github.com
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 03d4c26 commit 4a1da26Copy full SHA for 4a1da26
1 file changed
Grammar/Grammar
@@ -40,7 +40,8 @@ break_stmt: 'break'
40
continue_stmt: 'continue'
41
return_stmt: 'return' [testlist]
42
raise_stmt: 'raise' test [',' test]
43
-import_stmt: 'import' NAME (',' NAME)* | 'from' NAME 'import' ('*' | NAME (',' NAME)*)
+import_stmt: 'import' dotted_name (',' dotted_name)* | 'from' dotted_name 'import' ('*' | NAME (',' NAME)*)
44
+dotted_name: NAME ('.' NAME)*
45
global_stmt: 'global' NAME (',' NAME)*
46
access_stmt: 'access' ('*' | NAME (',' NAME)*) ':' accesstype (',' accesstype)*
47
accesstype: NAME+
0 commit comments