1
0
forked from VimPlug/jedi

Reinstate an if that was deleted by mistake

This commit is contained in:
Dave Halter
2020-05-09 00:13:18 +02:00
parent 39a2cd8aa2
commit d56f607f35

View File

@@ -201,6 +201,7 @@ class TypingClassValueWithIndex(_TypingClassMixin, TypingValueWithIndex):
) )
elif annotation_name == 'Callable': elif annotation_name == 'Callable':
if len(annotation_generics) == 2:
return annotation_generics[1].infer_type_vars( return annotation_generics[1].infer_type_vars(
value_set.execute_annotation(), value_set.execute_annotation(),
) )