forked from VimPlug/jedi
Reinstate an if that was deleted by mistake
This commit is contained in:
@@ -201,9 +201,10 @@ class TypingClassValueWithIndex(_TypingClassMixin, TypingValueWithIndex):
|
|||||||
)
|
)
|
||||||
|
|
||||||
elif annotation_name == 'Callable':
|
elif annotation_name == 'Callable':
|
||||||
return annotation_generics[1].infer_type_vars(
|
if len(annotation_generics) == 2:
|
||||||
value_set.execute_annotation(),
|
return annotation_generics[1].infer_type_vars(
|
||||||
)
|
value_set.execute_annotation(),
|
||||||
|
)
|
||||||
|
|
||||||
elif annotation_name == 'Tuple':
|
elif annotation_name == 'Tuple':
|
||||||
tuple_annotation, = self.execute_annotation()
|
tuple_annotation, = self.execute_annotation()
|
||||||
|
|||||||
Reference in New Issue
Block a user