Exemple #1
0
 def __rfloordiv__(self, other):
     '''
         >>> 1 // this    # doctest: +ELLIPSIS
         <expression '1 // this' ...>
     '''
     from xotl.ql.expressions import floordiv
     return floordiv(other, self)
Exemple #2
0
 def __rfloordiv__(self, other):
     '''
         >>> 1 // this    # doctest: +ELLIPSIS
         <expression '1 // this' ...>
     '''
     from xotl.ql.expressions import floordiv
     return floordiv(other, self)
Exemple #3
0
 def __floordiv__(self, other):
     '''
         >>> this // 1    # doctest: +ELLIPSIS
         <expression 'this // 1' ...>
     '''
     from xotl.ql.expressions import floordiv
     return floordiv(self, other)
Exemple #4
0
 def __floordiv__(self, other):
     '''
         >>> this // 1    # doctest: +ELLIPSIS
         <expression 'this // 1' ...>
     '''
     from xotl.ql.expressions import floordiv
     return floordiv(self, other)