get_parent_until should always have the same signature.

Fix it for ArrayMethod.get_parent_until.
This commit is contained in:
Dave Halter
2014-09-19 16:17:05 +02:00
parent 99d35e57b6
commit d4503c77a5

View File

@@ -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):