mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-05 02:58:02 +02:00
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:
parent
12cb81c5b5
commit
eaa943c23e
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue