1
0
forked from VimPlug/jedi

Remove redundant attribute check

This commit is contained in:
Peter Law
2020-03-12 22:06:13 +00:00
parent b198434694
commit da9d312185

View File

@@ -491,9 +491,6 @@ def _infer_type_vars(annotation_value, value_set, is_class_value=False):
# the elements from the set first, then handle them, even if we put
# them back in a set afterwards.
for element in value_set:
if not hasattr(element, 'is_instance'):
continue
if element.is_instance():
py_class = element.get_annotated_class_object()
else: