summaryrefslogtreecommitdiffstats
path: root/Doc/library/cmath.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-07-11 17:38:24 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-07-11 17:38:24 (GMT)
commit8e0c9968731ac7f1d94bddff348544c70833b52b (patch)
treeaf0d4866d6dbae9e9b9003435956c6f2f7141dea /Doc/library/cmath.rst
parent3e7428995f9d09493640326104c70a26c7cdab07 (diff)
downloadcpython-8e0c9968731ac7f1d94bddff348544c70833b52b.zip
cpython-8e0c9968731ac7f1d94bddff348544c70833b52b.tar.gz
cpython-8e0c9968731ac7f1d94bddff348544c70833b52b.tar.bz2
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 14b909b..ae94039 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