Start working on replacing value partially with context

This commit is contained in:
Dave Halter
2019-08-16 13:00:05 +02:00
parent 03920502c4
commit d19233a338
6 changed files with 124 additions and 118 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ class InferenceState(object):
cn = ValueualizedNode(value, def_.children[3])
for_types = iterate_values(container_types, cn)
c_node = ValueualizedName(value, name)
return check_tuple_assignments(self, c_node, for_types)
return check_tuple_assignments(c_node, for_types)
if type_ in ('import_from', 'import_name'):
return imports.infer_import(value, name)
else: