Пример #1
0
 def __rmul__(self, other):
     '''
         >>> 1 * this    # doctest: +ELLIPSIS
         <expression '1 * this' ...>
     '''
     from xotl.ql.expressions import mul
     return mul(other, self)
Пример #2
0
 def __rmul__(self, other):
     '''
         >>> 1 * this    # doctest: +ELLIPSIS
         <expression '1 * this' ...>
     '''
     from xotl.ql.expressions import mul
     return mul(other, self)
Пример #3
0
 def __mul__(self, other):
     '''
         >>> this * 1    # doctest: +ELLIPSIS
         <expression 'this * 1' ...>
     '''
     from xotl.ql.expressions import mul
     return mul(self, other)
Пример #4
0
 def __mul__(self, other):
     '''
         >>> this * 1    # doctest: +ELLIPSIS
         <expression 'this * 1' ...>
     '''
     from xotl.ql.expressions import mul
     return mul(self, other)