summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-16 14:46:27 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-16 14:46:27 (GMT)
commitfc21e01b63f1cf6deb4e937ffae4793271403d6c (patch)
tree74e5599d41086c38e5bd113501efcd0961e4a436 /Doc/library/math.rst
parentf66df2b3e6d48fe47269b15c93fd4746c7160990 (diff)
downloadcpython-fc21e01b63f1cf6deb4e937ffae4793271403d6c.zip
cpython-fc21e01b63f1cf6deb4e937ffae4793271403d6c.tar.gz
cpython-fc21e01b63f1cf6deb4e937ffae4793271403d6c.tar.bz2
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 fce4d49..ea355af 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -347,10 +347,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