pow()

Ivan Van Laningham ivanlan at callware.com
Wed Jul 21 14:50:16 EDT 1999


Hi All--
I couldn't find an explanation for the three-argument version of pow()
on DejaNews, the Python 1.5.2 docs or the Python FAQ, so I'll ask now.

Can someone explain (in simple terms, for a bear of small brain) to me
what the modulo argument to __pow__ is for?

	__pow__(self,other[,modulo])

Thanks very much,
Ivan
----------------------------------------------
Ivan Van Laningham
Callware Technologies, Inc.
ivanlan at callware.com
ivanlan at home.com
http://www.pauahtun.org
See also: 
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps:  Cu Chi, Class of '70
----------------------------------------------




More information about the Python-list mailing list