forked from VimPlug/jedi
fix most issues related to the py__call__ stuff and generalize it.
This commit is contained in:
@@ -94,7 +94,7 @@ class GeneratorMethod(object):
|
||||
self._builtin_func = builtin_func
|
||||
self._generator = generator
|
||||
|
||||
def py__call__(self, params):
|
||||
def py__call__(self, evaluator, params):
|
||||
# TODO add TypeError if params are given.
|
||||
return self._generator.iter_content()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user