forked from VimPlug/jedi
get_parent_until should always have the same signature.
Fix it for ArrayMethod.get_parent_until.
This commit is contained in:
@@ -246,7 +246,7 @@ class ArrayMethod(IterableWrapper):
|
|||||||
raise AttributeError('Strange access on %s: %s.' % (self, name))
|
raise AttributeError('Strange access on %s: %s.' % (self, name))
|
||||||
return getattr(self.name, name)
|
return getattr(self.name, name)
|
||||||
|
|
||||||
def get_parent_until(self):
|
def get_parent_until(self, *args, **kwargs):
|
||||||
return compiled.builtin
|
return compiled.builtin
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user