mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Remove resolved TODO
The common logic this refers to has now been extracted (see 95cec459)
and the remaining checks are specific to tuple handling.
This commit is contained in:
@@ -464,9 +464,6 @@ def _infer_type_vars(annotation_value, value_set, is_class_value=False):
|
||||
# treat the incoming values as needing to match the annotation
|
||||
# exactly, just as we would for non-tuple annotations.
|
||||
|
||||
# TODO: this logic is pretty similar to the general logic below, can
|
||||
# we combine them?
|
||||
|
||||
for element in value_set:
|
||||
py_class = element.get_annotated_class_object()
|
||||
if not isinstance(py_class, GenericClass):
|
||||
|
||||
Reference in New Issue
Block a user