March 2003
Intermediate to advanced
656 pages
39h 30m
English
__divmod__
__divmod__(self,other)Built-in function
divmod(
x,y
)
calls x
.__divmod__(
y
).
__divmod__ should return a pair
(
quotient,remainder
)
equal to
(
x
//
y,x
%
y
).