** Operator

Christoph Zwerschke cito at online.de
Mon Mar 20 06:53:09 EST 2006


Alex Martelli wrote:
> Sathyaish wrote:
> 
>> I tried it on the interpreter and it looks like it is the "to the power
>> of" operator symbol/function. Can you please point me to the formal
>> definition of this operator in the docs?
> 
> http://docs.python.org/ref/power.html

I think this should be also mentioned in the Built-In Functions section 
of the Library Reference. Probably most users do not read the Language 
Reference (since the main menu says it's "for language lawyers" and yes, 
it is not really fun to read).

In the explanation about pow() at 
http://docs.python.org/lib/built-in-funcs.html, the notation 10**2 is 
suddenly used, without explaining that it is equivalent to pow(10,2). I 
think this could be improved in the docs.

-- Christoph



More information about the Python-list mailing list