1
0
forked from VimPlug/jedi

Generate the expression_list of a statement in any case.

This is a consequence of being able to have Calls as parents of Names. Otherwise we would have changing Name.parent values.
This commit is contained in:
Dave Halter
2014-09-09 12:54:46 +02:00
parent 740fd0657f
commit ff7680c15f

View File

@@ -922,6 +922,9 @@ class Statement(Simple, DocstringMixin):
# cache
self._assignment_details = []
# For now just generate the expression list, even if its not needed.
# This will help to adapt a better new AST.
self.expression_list()
@property
def end_pos(self):