fix docstrings with evaluator stuff

This commit is contained in:
Dave Halter committed 2013-12-25 18:31:42 +01:00
1 parent d86f180d2e
commit f039bc3fc9
3 files changed
+5 -8

No files matched your search

+1 -4
View File
@@ -508,10 +508,7 @@ class Execution(Executable):
if func.is_generator and not evaluate_generator:
return [Generator(self._evaluator, func, self.var_args)]
else:
"""
stmts = docstrings.find_return_types(func)
"""
stmts=[]
stmts = docstrings.find_return_types(self._evaluator, func)
for r in self.returns:
if r is not None:
stmts += self._evaluator.follow_statement(r)