summaryrefslogtreecommitdiff
path: root/Doc/library/cmath.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-07-11 17:38:24 +0000
committerMark Dickinson <dickinsm@gmail.com>2010-07-11 17:38:24 +0000
commit8e0c9968731ac7f1d94bddff348544c70833b52b (patch)
treeaf0d4866d6dbae9e9b9003435956c6f2f7141dea /Doc/library/cmath.rst
parent3e7428995f9d09493640326104c70a26c7cdab07 (diff)
downloadcpython-git-8e0c9968731ac7f1d94bddff348544c70833b52b.tar.gz
Issue #9165: Add math.isfinite and cmath.isfinite.
Diffstat (limited to 'Doc/library/cmath.rst')
-rw-r--r--Doc/library/cmath.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst
index 14b909bd28..ae940398c8 100644
--- a/Doc/library/cmath.rst
+++ b/Doc/library/cmath.rst
@@ -187,6 +187,12 @@ Hyperbolic functions
Classification functions
------------------------
+.. function:: isfinite(x)
+
+ Return ``True`` if both the real and imaginary parts of *x* are finite,
+ and ``False`` otherwise.
+
+
.. function:: isinf(x)
Return *True* if the real or the imaginary part of x is positive