summaryrefslogtreecommitdiffstats
path: root/Doc/library/cmath.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-07-11 19:47:37 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-07-11 19:47:37 (GMT)
commitc762242ccad80957e432bbc9563549b7508b0f92 (patch)
tree9f2338c5be746fdbb0647c5deb9406da4a269a75 /Doc/library/cmath.rst
parent68c5de6d1cb51161bd7e7b2e52a613c4dbff1f47 (diff)
downloadcpython-c762242ccad80957e432bbc9563549b7508b0f92.zip
cpython-c762242ccad80957e432bbc9563549b7508b0f92.tar.gz
cpython-c762242ccad80957e432bbc9563549b7508b0f92.tar.bz2
Include versionadded in (c)math.isfinite docs (thanks Ezio Melotti). Other minor doc cleanups.
Diffstat (limited to 'Doc/library/cmath.rst')
-rw-r--r--Doc/library/cmath.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst
index ae94039..d7778df 100644
--- a/Doc/library/cmath.rst
+++ b/Doc/library/cmath.rst
@@ -189,19 +189,22 @@ Classification functions
.. function:: isfinite(x)
- Return ``True`` if both the real and imaginary parts of *x* are finite,
- and ``False`` otherwise.
+ Return ``True`` if both the real and imaginary parts of *x* are finite, and
+ ``False`` otherwise.
+
+ .. versionadded:: 3.2
.. function:: isinf(x)
- Return *True* if the real or the imaginary part of x is positive
- or negative infinity.
+ Return ``True`` if either the real or the imaginary part of *x* is an
+ infinity, and ``False`` otherwise.
.. function:: isnan(x)
- Return *True* if the real or imaginary part of x is not a number (NaN).
+ Return ``True`` if either the real or the imaginary part of *x* is a NaN,
+ and ``False`` otherwise.
Constants