Esempio n. 1
0
 def __rpow__(self, other):
     return BinaryComponentLink(other, self, operator.pow)
Esempio n. 2
0
 def __rtruediv__(self, other):
     return BinaryComponentLink(other, self, operator.truediv)
Esempio n. 3
0
 def __div__(self, other):
     return BinaryComponentLink(self, other, operator.div)
Esempio n. 4
0
 def __rmul__(self, other):
     return BinaryComponentLink(other, self, operator.mul)
Esempio n. 5
0
 def __rsub__(self, other):
     return BinaryComponentLink(other, self, operator.sub)
Esempio n. 6
0
 def __radd__(self, other):
     return BinaryComponentLink(other, self, operator.add)