We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

The __div__ method

__div__(self, other)

Called to implement division.

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.