(self, x, y, z)
| 186 | print("Example 12") |
| 187 | class Vector3D(RegisteredSerializable): |
| 188 | def __init__(self, x, y, z): |
| 189 | super().__init__(x, y, z) |
| 190 | self.x, self.y, self.z = x, y, z |
| 191 | |
| 192 | before = Vector3D(10, -7, 3) |
| 193 | print("Before: ", before) |