From: Aziz Date: Tue, 14 Oct 2025 08:24:43 +0000 (+0200) Subject: gh-137871: Clarify cmath.nan documentation by linking to math module (#137876) X-Git-Tag: v3.15.0a1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=025b4034d6c80900aedea3b397cb730dc4910ef0;p=thirdparty%2FPython%2Fcpython.git gh-137871: Clarify cmath.nan documentation by linking to math module (#137876) Co-authored-by: Sergey B Kirpichev --- diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst index 26518a0458fd..b6d5dbee21dc 100644 --- a/Doc/library/cmath.rst +++ b/Doc/library/cmath.rst @@ -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