| Index: Source/bindings/scripts/idl_types.py
|
| diff --git a/Source/bindings/scripts/idl_types.py b/Source/bindings/scripts/idl_types.py
|
| index e4be490a95c46eb30a6161e8b1ed0453f7895ecf..b1d9bc1752a2ce907de35508976425cd78171fe7 100644
|
| --- a/Source/bindings/scripts/idl_types.py
|
| +++ b/Source/bindings/scripts/idl_types.py
|
| @@ -253,7 +253,7 @@ class IdlUnionType(IdlTypeBase):
|
| self.member_types = member_types
|
|
|
| def __str__(self):
|
| - return self.name
|
| + return '(' + ' or '.join(str(member_type) for member_type in self.member_types) + ')'
|
|
|
| def __hash__(self):
|
| return hash(self.name)
|
|
|