forked from VimPlug/jedi
rework so that it also works withouty pep0484 type hints in jedi_typing.py
This commit is contained in:
@@ -391,8 +391,7 @@ class Evaluator(object):
|
||||
|
||||
new_types = set()
|
||||
if trailer_op == '[':
|
||||
for trailer_typ in iterable.create_index_types(self, node):
|
||||
new_types |= iterable.py__getitem__(self, types, trailer_typ, trailer_op)
|
||||
new_types |= iterable.py__getitem__(self, types, trailer)
|
||||
else:
|
||||
for typ in types:
|
||||
debug.dbg('eval_trailer: %s in scope %s', trailer, typ)
|
||||
|
||||
Reference in New Issue
Block a user