Return types for docstrings
This commit is contained in:
1 parent
a7f7d8ff9f
commit
502c643c73
3 files changed
+84
-1
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user