diff --git a/modules/base/pymod/table.py b/modules/base/pymod/table.py index dae603fb6c606e738ec1987b50aa6c3cac148add..40fc98b46dfe5dc95d6e84d9226a02ae4ded2a09 100644 --- a/modules/base/pymod/table.py +++ b/modules/base/pymod/table.py @@ -90,6 +90,9 @@ class BinaryColExpr: def __mul__(self, rhs): return BinaryColExpr(operator.mul, self, rhs) + def __div__(self, rhs): + return BinaryColExpr(operator.div, self, rhs) + class TableCol: def __init__(self, table, col): self._table=table @@ -119,6 +122,7 @@ class TableCol: def __mul__(self, rhs): return BinaryColExpr(operator.mul, self, rhs) + def __div__(self, rhs): return BinaryColExpr(operator.div, self, rhs)