1
0
forked from VimPlug/jedi

Rename Simple -> BaseNode.

This commit is contained in:
Dave Halter
2015-02-05 14:18:30 +01:00
parent 0c1bbf78e2
commit d0f1fd5267
3 changed files with 13 additions and 13 deletions

View File

@@ -311,7 +311,7 @@ class InstanceElement(use_metaclass(CachedMetaClass, pr.Base)):
return par
def get_parent_until(self, *args, **kwargs):
return pr.Simple.get_parent_until(self, *args, **kwargs)
return pr.BaseNode.get_parent_until(self, *args, **kwargs)
def get_definition(self):
return self.get_parent_until((pr.ExprStmt, pr.IsScope, pr.Import))