1
0
forked from VimPlug/jedi

Fix stub function inferrals

This commit is contained in:
Dave Halter
2019-05-28 01:51:37 +02:00
parent 6f41530a03
commit ec7b6b8d80
5 changed files with 65 additions and 27 deletions

View File

@@ -283,7 +283,7 @@ class TreeInstance(AbstractInstanceContext):
continue
all_annotations = py__annotations__(execution.tree_node)
defined = self.class_context.define_generics(
defined, = self.class_context.define_generics(
infer_type_vars_for_execution(execution, all_annotations),
)
debug.dbg('Inferred instance context as %s', defined, color='BLUE')