1
0
forked from VimPlug/jedi

Start to change the logic for self.foo variables.

This commit is contained in:
Dave Halter
2014-09-24 14:33:15 +02:00
parent 12e391c97a
commit 0a65eea2cf
2 changed files with 16 additions and 17 deletions

View File

@@ -976,15 +976,11 @@ class Statement(Simple, DocstringMixin):
for stmt in call:
search_calls(stmt.expression_list())
elif isinstance(call, Call):
c = call
# Check if there's an execution in it, if so this is
# not a set_var.
while c:
if isinstance(c.next, Array):
break
c = c.next
else:
if not call.next:
self._set_vars.append(call.name)
continue
self._set_vars = []
for calls, operation in self.assignment_details: