forked from VimPlug/jedi
fix for api class problems
This commit is contained in:
@@ -34,10 +34,10 @@ class BaseOutput(object):
|
|||||||
if not isinstance(definition, keywords.Keyword):
|
if not isinstance(definition, keywords.Keyword):
|
||||||
par = definition
|
par = definition
|
||||||
while par is not None:
|
while par is not None:
|
||||||
if not par.isinstance(
|
try:
|
||||||
parsing.Flow, parsing.Statement, parsing.Import,
|
|
||||||
evaluate.Array, parsing.Name):
|
|
||||||
self.path.insert(0, par.name)
|
self.path.insert(0, par.name)
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
par = par.parent()
|
par = par.parent()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user