find_return_types -> infer_return_types.
This commit is contained in:
1 parent
ac8ed62a77
commit
fbde21166b
3 files changed
+4
-4
No files matched your search
@@ -99,7 +99,7 @@ def py__annotations__(funcdef):
|
||||
|
||||
|
||||
@memoize_default()
|
||||
def find_return_types(context, func):
|
||||
def infer_return_types(context, func):
|
||||
annotation = py__annotations__(func).get("return", None)
|
||||
return _evaluate_for_annotation(context, annotation)
|
||||
|
||||
|
||||
Reference in new issue
Block a user