1
0
forked from VimPlug/jedi

rework so that it also works withouty pep0484 type hints in jedi_typing.py

This commit is contained in:
Claude
2015-12-30 18:47:08 +01:00
parent 52cc721f45
commit cc6bd7d161
4 changed files with 79 additions and 59 deletions

View File

@@ -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)