rework so that it also works withouty pep0484 type hints in jedi_typing.py
This commit is contained in:
1 parent
52cc721f45
commit
cc6bd7d161
4 files changed
+79
-59
No files matched your search
@@ -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