1
0
forked from VimPlug/jedi

One more parso rename.

This commit is contained in:
Dave Halter
2017-09-01 18:05:19 +02:00
parent 2b08c0ac88
commit 16f1eb417a

View File

@@ -194,7 +194,7 @@ def _name_to_types(evaluator, context, tree_name):
elif typ == 'expr_stmt':
types = _remove_statements(evaluator, context, node, tree_name)
elif typ == 'with_stmt':
types = context.eval_node(node.get_context_manager_from_name(tree_name))
types = context.eval_node(node.get_test_node_from_name(tree_name))
elif typ in ('import_from', 'import_name'):
types = imports.infer_import(context, tree_name)
elif typ in ('funcdef', 'classdef'):