mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-16 08:56:44 +08:00
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))
|
||||
return getattr(self.name, name)
|
||||
|
||||
def get_parent_until(self):
|
||||
def get_parent_until(self, *args, **kwargs):
|
||||
return compiled.builtin
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in New Issue
Block a user