[New-bugs-announce] [issue1501] 0 ** 0 documentation

Jim Jewett report at bugs.python.org
Mon Nov 26 22:19:32 CET 2007


New submission from Jim Jewett:

http://docs.python.org/lib/typesnumeric.html contains a table listing the 
mathematical operators.  Please add a note to the final row (x ** y meaning	
x to the power y) indicating that Python has chosen to define 0**0==1
Note 6:  Python defines 0**0 to be 1.  For background, please see http://
en.wikipedia.org/wiki/Exponentiation#Zero_to_the_zero_power

This doc change should have prevented issue 1461; I *think* there have been 
similar issues in the past.

----------
components: Documentation
messages: 57855
nosy: jimjjewett
severity: minor
status: open
title: 0 ** 0 documentation
type: rfe
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1501>
__________________________________


More information about the New-bugs-announce mailing list