diff options
Diffstat (limited to 'color.py')
| -rw-r--r-- | color.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ def HSV(Vector): """HSV 3-vector.""" def __init__(self, hue, saturation, value): """Initialize with hue, saturation, and value.""" - super().__init__(hue, saturation, value) + super(Vector, self).__init__(hue, saturation, value) def to_RGB(self): """Convert to an RGB vector.""" @@ -65,7 +65,7 @@ def RGB(Vector): """RGB 3-vector.""" def __init__(self, r, g, b): """Initialize with red green and blue.""" - super().__init__(r, g, b) + super(Vector, self).__init__(r, g, b) def to_HSV(self): """Convert to HSV vector.""" |
