Ejemplo n.º 1
0
 def __rfloordiv__(self, other):
     return ops.floordiv(other, self)
Ejemplo n.º 2
0
 def __ifloordiv__(self, other):
     if in_python_scope():
         return NotImplemented
     self._assign(ops.floordiv(self, other))
     return self
Ejemplo n.º 3
0
 def __floordiv__(self, other):
     return ops.floordiv(self, other)
Ejemplo n.º 4
0
 def __ifloordiv__(self, other):
     self.assign(ops.floordiv(self, other))
     return self