mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-25 21:17:13 +08:00
Split Import, now there is ImportFrom and ImportName as it exists in the python grammar.
This commit is contained in:
@@ -56,8 +56,8 @@ class Parser(object):
|
||||
'classdef': pr.Class,
|
||||
'funcdef': pr.Function,
|
||||
'file_input': pr.SubModule,
|
||||
'import_name': pr.Import,
|
||||
'import_from': pr.Import,
|
||||
'import_name': pr.ImportName,
|
||||
'import_from': pr.ImportFrom,
|
||||
'break_stmt': pr.KeywordStatement,
|
||||
'continue_stmt': pr.KeywordStatement,
|
||||
'return_stmt': pr.ReturnStmt,
|
||||
|
||||
Reference in New Issue
Block a user