]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-13787...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 14 Oct 2025 08:32:27 +0000 (10:32 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Oct 2025 08:32:27 +0000 (08:32 +0000)
Co-authored-by: Aziz <azizbenothman76@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/library/cmath.rst

index 26518a0458fd813c23e05efbc1a5b8e1ed5faf9f..b6d5dbee21dcd5ab2bf92469da0a4aa304d2c25e 100644 (file)
@@ -338,7 +338,7 @@ Constants
 .. data:: nan
 
    A floating-point "not a number" (NaN) value.  Equivalent to
-   ``float('nan')``.
+   ``float('nan')``. See also :data:`math.nan`.
 
    .. versionadded:: 3.6