1
0
forked from VimPlug/jedi

Fix most of PEP 484.

This commit is contained in:
Dave Halter
2016-11-15 00:05:08 +01:00
parent 31514dfe76
commit f672b367da
5 changed files with 37 additions and 12 deletions

View File

@@ -644,7 +644,7 @@ class FunctionExecutionContext(Executed):
else:
returns = funcdef.returns
types = set(docstrings.find_return_types(self.get_root_context(), funcdef))
types |= set(pep0484.find_return_types(self.evaluator, funcdef))
types |= set(pep0484.find_return_types(self.get_root_context(), funcdef))
for r in returns:
check = flow_analysis.reachability_check(self, funcdef, r)