mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-22 10:17:05 +08:00
By having get_annotated_class_object for Tuple/Callable, some details are not necessary anymore
This commit is contained in:
1 parent
c2d1da09cb
commit
42963a0e03
3 files changed
+8
-6
No files matched your search
@@ -350,7 +350,7 @@ def merge_pairwise_generics(annotation_value, annotated_argument_class):
|
||||
|
||||
type_var_dict = {}
|
||||
|
||||
if not isinstance(annotated_argument_class, (DefineGenericBase, BaseTypingInstance)):
|
||||
if not isinstance(annotated_argument_class, (DefineGenericBase)):
|
||||
return type_var_dict
|
||||
|
||||
annotation_generics = annotation_value.get_generics()
|
||||
|
||||
Reference in new issue
Block a user