From 246ce97e55b275fb72abbab79634d4876f9a5b6c Mon Sep 17 00:00:00 2001 From: Aziz Date: Tue, 14 Oct 2025 10:24:43 +0200 Subject: [PATCH] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-137876) (cherry picked from commit 025b4034d6c80900aedea3b397cb730dc4910ef0) Co-authored-by: Aziz Co-authored-by: Sergey B Kirpichev --- Doc/library/cmath.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/cmath.rst b/Doc/library/cmath.rst index 26518a0458fd81..b6d5dbee21dcd5 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