From 7d0c89c9b7fd9789b3331dee7c785da6b37ccd85 Mon Sep 17 00:00:00 2001 From: Raymond Hogenson Date: Tue, 27 Sep 2016 23:38:09 -0400 Subject: Fix many syntax errors and typos --- color.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'color.py') diff --git a/color.py b/color.py index 84ece9d..a38c28b 100644 --- a/color.py +++ b/color.py @@ -37,6 +37,9 @@ class Vector(object): """Return self * 1 / scalar.""" return self * (1 / scalar) + def __eq__(self, other): + return self.components == other.components + class HSV(Vector): """HSV 3-vector.""" -- cgit v1.3.1