Return types for docstrings

This commit is contained in:
Yakov Borevich committed 2012-12-27 19:30:40 +04:00
1 parent a7f7d8ff9f
commit 502c643c73
3 files changed
+84 -1

No files matched your search

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