Example #1
0
 def __rdiv__(self, other):
     '''
         >>> 1 / this    # doctest: +ELLIPSIS
         <expression '1 / this' ...>
     '''
     from xotl.ql.expressions import div
     return div(other, self)
Example #2
0
 def __rdiv__(self, other):
     '''
         >>> 1 / this    # doctest: +ELLIPSIS
         <expression '1 / this' ...>
     '''
     from xotl.ql.expressions import div
     return div(other, self)
Example #3
0
 def __div__(self, other):
     '''
         >>> this/1    # doctest: +ELLIPSIS
         <expression 'this / 1' ...>
     '''
     from xotl.ql.expressions import div
     return div(self, other)
Example #4
0
 def __div__(self, other):
     '''
         >>> this/1    # doctest: +ELLIPSIS
         <expression 'this / 1' ...>
     '''
     from xotl.ql.expressions import div
     return div(self, other)