Rename the ExprType "parent" attribute to "parents".

This is fallout from commit 76ca2c0b15,
which renamed the *parent parameter of ExprType.__init__, but failed
to rename the instance attribute to which it was assigned.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Alex Plotnick 2012-03-23 10:19:08 -04:00 committed by Julien Danjou
parent 12cb81c5b5
commit eaa943c23e

View file

@ -221,11 +221,11 @@ class ExprType(Type):
Public fields added:
expr is an Expression object containing the value of the field.
'''
def __init__(self, elt, member, *parent):
def __init__(self, elt, member, *parents):
Type.__init__(self, member.name)
self.is_expr = True
self.member = member
self.parent = parent
self.parents = parents
self.expr = Expression(list(elt)[0], self)