mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-20 02:37:05 +08:00
Simplification.
This commit is contained in:
1 parent
cc953ffff0
commit
3a0008ea80
1 file changed
+1
-1
@@ -516,7 +516,7 @@ class Evaluator(object):
|
|||||||
))
|
))
|
||||||
|
|
||||||
scope = name.get_parent_scope()
|
scope = name.get_parent_scope()
|
||||||
if tree.is_node(name.parent, 'trailer') and name.parent.children[0] == '.':
|
if tree.is_node(par, 'trailer') and par.children[0] == '.':
|
||||||
call = helpers.call_of_leaf(name, cut_own_trailer=True)
|
call = helpers.call_of_leaf(name, cut_own_trailer=True)
|
||||||
types = self.eval_element(call)
|
types = self.eval_element(call)
|
||||||
return resolve_implicit_imports(iterable.unite(
|
return resolve_implicit_imports(iterable.unite(
|
||||||
|
|||||||
Reference in new issue
Block a user