The __divmod__ method

__divmod__(self, other)

See __add__.

 

Comment:

This page shouldn't just link to __add__. Because currently __add__ page says, that __divmod__ should be the same as __floordiv__ and __mod__. But __floordiv__ and __mod__ link back to __add__. Really confusing!

Posted by Alexey Shamrin (2006-12-03)

A Django site. rendered by a django application. hosted by webfaction.