forked from VimPlug/jedi
Fix most of PEP 484.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user