March 2003
Intermediate to advanced
656 pages
39h 30m
English
__pow__
__pow__(self,other[,modulo])
x
**
y
and
pow(
x,y
)
both call x
.__pow__(
y
), while
pow(
x,y,z
)
calls x
.__pow__(
y,z
).
x
.__pow__(
y,z
)
should return a value equal to the expression
x
.__pow__(
y
)%
z.