Exemplo n.º 1
0
 def __rsub__(self, other):
     '''
         >>> 1 - this      # doctest: +ELLIPSIS
         <expression '1 - this' ...>
     '''
     from xotl.ql.expressions import sub
     return sub(other, self)
Exemplo n.º 2
0
 def __rsub__(self, other):
     '''
         >>> 1 - this      # doctest: +ELLIPSIS
         <expression '1 - this' ...>
     '''
     from xotl.ql.expressions import sub
     return sub(other, self)
Exemplo n.º 3
0
 def __sub__(self, other):
     '''
         >>> this - 1      # doctest: +ELLIPSIS
         <expression 'this - 1' ...>
     '''
     from xotl.ql.expressions import sub
     return sub(self, other)
Exemplo n.º 4
0
 def __sub__(self, other):
     '''
         >>> this - 1      # doctest: +ELLIPSIS
         <expression 'this - 1' ...>
     '''
     from xotl.ql.expressions import sub
     return sub(self, other)