** Operator

Kent Johnson kent at kentsjohnson.com
Mon Mar 20 11:42:11 EST 2006


Christoph Zwerschke wrote:
>>http://docs.python.org/lib/typesnumeric.html
> 
> You're right, it's mentioned there in section 2.3.4, but the explanation 
> of pow() is already in section 2.1 prior to that.
> 
> So it would be nice if the paragraph explaining pow() would mention that 
> you can also write x**y for pow(x,y). And/or the example given in the 
> paragraph should say pow(10,2) instead of 10**2. Otherwise it's a bit 
> confusing for somebody who reads in chronological order and doesn't know 
> about the ** syntax (many other languages write x^y instead of x**y).

The way to make this change happen is to submit a bug report with your 
suggested change. See the link at the bottom of the above page to find 
out how.

Kent



More information about the Python-list mailing list