By having get_annotated_class_object for Tuple/Callable, some details are not necessary anymore

This commit is contained in:
Dave Halter
2020-05-10 02:52:42 +02:00
parent c2d1da09cb
commit 42963a0e03
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -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()