forked from VimPlug/jedi
Replace some isinstance checks in the parser tree with .type checks.
This commit is contained in:
@@ -156,7 +156,7 @@ def get_module_names(module, all_scopes):
|
||||
return chain.from_iterable(dct.values())
|
||||
|
||||
|
||||
class FakeImport(pr.Import):
|
||||
class FakeImport(pr.ImportName):
|
||||
def __init__(self, name, parent, level=0):
|
||||
super(FakeImport, self).__init__([])
|
||||
self.parent = parent
|
||||
|
||||
Reference in New Issue
Block a user