mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-19 23:09:43 +08:00
find_return_types -> infer_return_types.
This commit is contained in:
@@ -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