summaryrefslogtreecommitdiffstats
path: root/color.py
diff options
context:
space:
mode:
Diffstat (limited to 'color.py')
-rw-r--r--color.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/color.py b/color.py
index c8cb3cb..779d503 100644
--- a/color.py
+++ b/color.py
@@ -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."""