Remove evaluator param from py__call__.
This commit is contained in:
1 parent
506d5a4f31
commit
afb1d6c3b8
4 files changed
+16
-16
No files matched your search
@@ -90,7 +90,7 @@ class GeneratorMethod(IterableWrapper):
|
||||
self._builtin_func = builtin_func
|
||||
self._generator = generator
|
||||
|
||||
def py__call__(self, evaluator, params):
|
||||
def py__call__(self, params):
|
||||
# TODO add TypeError if params are given.
|
||||
return unite(self._generator.py__iter__())
|
||||
|
||||
|
||||
Reference in new issue
Block a user