mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-25 02:47:22 +08:00
Some more code quality fixes
This commit is contained in:
1 parent
bdd4deedc1
commit
02c3d651bd
11 files changed
+10
-22
No files matched your search
@@ -220,8 +220,6 @@ def infer_return_types(function, arguments):
|
||||
function.get_default_param_context(),
|
||||
match.group(1).strip()
|
||||
).execute_annotation()
|
||||
if annotation is None:
|
||||
return NO_VALUES
|
||||
|
||||
context = function.get_default_param_context()
|
||||
unknown_type_vars = find_unknown_type_vars(context, annotation)
|
||||
|
||||
Reference in new issue
Block a user