From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 14 Oct 2025 08:32:41 +0000 (+0200) Subject: [3.13] 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=08c9a147a650ef3e2f64f2f4d49b6c64b96fed87;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-137876) (#140096) Co-authored-by: Aziz Co-authored-by: Sergey B Kirpichev --- diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst index 4090e19762a8..0f0b823cf368 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