1
0
forked from VimPlug/jedi

fix empty return statement docstrings

This commit is contained in:
David Halter
2013-07-23 15:36:53 +02:00
parent 9c53de5034
commit 68635fc80c

View File

@@ -125,5 +125,7 @@ def find_return_types(func):
return []
p = parsing.Parser(type_str, None, (1, 0), no_docstr=True)
if p.user_stmt is None:
return []
p.user_stmt.parent = func
return list(evaluate.follow_statement(p.user_stmt))