From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 14 Oct 2025 08:32:27 +0000 (+0200) Subject: [3.14] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-13787... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2695844d266a91c7a46016daeb62ce75e74accc5;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-137876) (#140095) Co-authored-by: Aziz 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