summaryrefslogtreecommitdiffstats
path: root/libdimension-python/wrapper.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension-python/wrapper.pyx')
-rw-r--r--libdimension-python/wrapper.pyx4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdimension-python/wrapper.pyx b/libdimension-python/wrapper.pyx
index 5f2b755..5431e75 100644
--- a/libdimension-python/wrapper.pyx
+++ b/libdimension-python/wrapper.pyx
@@ -458,10 +458,6 @@ cdef class Color:
def __get__(self):
return self._sRGB.filter
- def __nonzero__(self):
- """Return whether a color is not black."""
- return not dmnsn_color_is_black(self._c)
-
def __add__(lhs, rhs):
return _sRGBColor(dmnsn_color_add(Color(lhs)._sRGB, Color(rhs)._sRGB))
def __mul__(lhs, rhs):