]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] 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:41 +0000 (10:32 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Oct 2025 08:32:41 +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 4090e19762a8f5b6047009ca1252ec28548b2a4c..0f0b823cf36847ef6f28bdc7bfbe09df1e517620 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