1
0
forked from VimPlug/jedi

Return types for docstrings

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

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)