forked from VimPlug/jedi
Fix py__getitem__ on Array.
This commit is contained in:
@@ -355,7 +355,7 @@ class Evaluator(object):
|
||||
|
||||
new_types = set()
|
||||
if trailer_op == '[':
|
||||
for trailer_typ in self.eval_element(node):
|
||||
for trailer_typ in iterable.create_index_types(self, node):
|
||||
new_types |= iterable.py__getitem__(self, types, trailer_typ, trailer_op)
|
||||
else:
|
||||
for typ in types:
|
||||
|
||||
Reference in New Issue
Block a user