1
0
forked from VimPlug/jedi

Split Import, now there is ImportFrom and ImportName as it exists in the python grammar.

This commit is contained in:
Dave Halter
2014-11-19 00:40:16 +01:00
parent 535a69e499
commit 3c6d5dafb1
5 changed files with 46 additions and 27 deletions

View File

@@ -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,