cpython: 7d95a0aa6b5a (original) (raw)
Mercurial > cpython
changeset 82322:7d95a0aa6b5a 3.2
#15438: add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson. [#15438]
Ezio Melotti ezio.melotti@gmail.com | |
---|---|
date | Sat, 23 Feb 2013 04:53:44 +0200 |
parents | 82343bbf8868 |
children | a305901366a6 329732a1572f |
files | Doc/library/math.rst |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-)[+] [-] Doc/library/math.rst 4 |
line wrap: on
line diff
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -202,6 +202,10 @@ Power and logarithmic functions
x
is negative, and y
is not an integer then pow(x, y)
is undefined, and raises :exc:ValueError
.