mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-07 10:24:32 +08:00
'.NAME' lookups.
This commit is contained in:
1 parent
34f3ea6973
commit
e2a07752fd
1 file changed
+1
-2
@@ -194,7 +194,6 @@ class Evaluator(object):
|
||||
# The implicit tuple in statements.
|
||||
return [iterable.Array(self, element, pr.Array.TUPLE)]
|
||||
else:
|
||||
print(element)
|
||||
left, operator, right = element.children
|
||||
return precedence.calculate(self, self.eval_element(left), operator,
|
||||
self.eval_element(right))
|
||||
@@ -231,7 +230,7 @@ class Evaluator(object):
|
||||
for typ in types:
|
||||
debug.dbg('_eval_trailer: %s in scope %s', trailer, typ)
|
||||
if trailer_op == '.':
|
||||
raise NotImplementedError
|
||||
new_types += self.find_types(typ, node)
|
||||
elif trailer_op == '(':
|
||||
new_types += self.execute(typ, node)
|
||||
elif trailer_op == '[':
|
||||
|
||||
Reference in new issue
Block a user