1
0
forked from VimPlug/jedi

fix most issues related to the py__call__ stuff and generalize it.

This commit is contained in:
Dave Halter
2014-07-30 15:23:41 +02:00
parent 1e6a950aec
commit 373ff2c45a
3 changed files with 33 additions and 20 deletions

View File

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