1
0
forked from VimPlug/jedi

AbstractSequence -> AbstractIterable.

This commit is contained in:
Dave Halter
2017-09-30 17:23:15 +02:00
parent 3bfff846ed
commit f733e07045
7 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ def _check_for_exception_catch(node_context, jedi_name, exception, payload=None)
except_classes = node_context.eval_node(node)
for cls in except_classes:
from jedi.evaluate import iterable
if isinstance(cls, iterable.AbstractSequence) and \
if isinstance(cls, iterable.AbstractIterable) and \
cls.array_type == 'tuple':
# multiple exceptions
for lazy_context in cls.py__iter__():