summaryrefslogtreecommitdiff
path: root/scss/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'scss/types.py')
-rw-r--r--scss/types.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scss/types.py b/scss/types.py
index 89aa226..b5edcbe 100644
--- a/scss/types.py
+++ b/scss/types.py
@@ -70,6 +70,12 @@ class Value(object):
def __rtruediv__(self, other):
return self._do_op(other, self, operator.__truediv__)
+ def __div__(self, other):
+ return self.__truediv__(other)
+
+ def __rdiv__(self, other):
+ return self.__rtruediv__(other)
+
def __sub__(self, other):
return self._do_op(self, other, operator.__sub__)