summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-16 14:52:34 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-16 14:52:34 (GMT)
commit9ce52610f4bc688ec698424e55d45d49b090668b (patch)
treed9f2981404f3ec1002630bab8e53ee3c0c239350 /Doc/library/math.rst
parent46e4dd21c4ddb89f8771b629aca160c3affecf8c (diff)
downloadcpython-9ce52610f4bc688ec698424e55d45d49b090668b.zip
cpython-9ce52610f4bc688ec698424e55d45d49b090668b.tar.gz
cpython-9ce52610f4bc688ec698424e55d45d49b090668b.tar.bz2
Merged revisions 77520-77521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r77520 | georg.brandl | 2010-01-16 16:41:21 +0200 (Sat, 16 Jan 2010) | 1 line Remove L suffix for integers. ........ r77521 | ezio.melotti | 2010-01-16 16:46:27 +0200 (Sat, 16 Jan 2010) | 1 line remove obsolete sentence ........
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 9fa1899..96e3359 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -299,10 +299,7 @@ Constants
error-reporting behavior from the platform C implementation. As a result,
the specific exceptions raised in error cases (and even whether some
arguments are considered to be exceptional at all) are not defined in any
- useful cross-platform or cross-release way. For example, whether
- ``math.log(0)`` returns ``-Inf`` or raises :exc:`ValueError` or
- :exc:`OverflowError` isn't defined, and in cases where ``math.log(0)`` raises
- :exc:`OverflowError`, ``math.log(0L)`` may raise :exc:`ValueError` instead.
+ useful cross-platform or cross-release way.
All functions return a quiet *NaN* if at least one of the args is *NaN*.
Signaling *NaN*\s raise an exception. The exception type still depends on the