eval_ -> infer_

This commit is contained in:
Dave Halter committed 2019-08-15 00:20:01 +02:00
1 parent 199799a966
commit 8157d119a7
23 files changed
+149 -149

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ def _check_for_exception_catch(node_context, jedi_name, exception, payload=None)
if node is None:
return True # An exception block that catches everything.
else:
except_classes = node_context.eval_node(node)
except_classes = node_context.infer_node(node)
for cls in except_classes:
from jedi.inference.context import iterable
if isinstance(cls, iterable.Sequence) and \