__div__(self, other)

The division operator (/) is implemented by these methods. The __truediv__ method is used when __future__.division is in effect, otherwise __div__ is used. If only one of these two methods is defined, the object will not support division in the alternate context; TypeError will be raised instead.