1
0
forked from VimPlug/jedi

direct param evaluation

This commit is contained in:
Dave Halter
2014-10-25 14:37:01 +02:00
parent afbdf1a7ea
commit 2315d51e68
3 changed files with 29 additions and 19 deletions
+1 -2
View File
@@ -341,8 +341,7 @@ class NameFinder(object):
# this means that there are no default params,
# so just ignore it.
return res_new
return res_new + list(chain.from_iterable(evaluator.eval_element(v)
for v in param.values))
return res_new + param.eval(self._evaluator)
def _handle_for_loops(self, loop):
# Take the first statement (for has always only one`in`).