forked from VimPlug/jedi
Import improvements.
This commit is contained in:
@@ -841,7 +841,12 @@ class Import(Simple):
|
|||||||
self.defunct = defunct
|
self.defunct = defunct
|
||||||
|
|
||||||
def get_defined_names(self):
|
def get_defined_names(self):
|
||||||
return []
|
if self.children[0] == 'import':
|
||||||
|
return self.children[1:]
|
||||||
|
else: # from
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
|
# TODO remove
|
||||||
if self.defunct:
|
if self.defunct:
|
||||||
return []
|
return []
|
||||||
if self.star:
|
if self.star:
|
||||||
|
|||||||
Reference in New Issue
Block a user