https://github.com/python/cpython/commit/2695844d266a91c7a46016daeb62ce75e74accc5
commit: 2695844d266a91c7a46016daeb62ce75e74accc5
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-10-14T08:32:27Z
summary:

[3.14] gh-137871: Clarify cmath.nan documentation by linking to math module 
(GH-137876) (#140095)

Co-authored-by: Aziz <[email protected]>
Co-authored-by: Sergey B Kirpichev <[email protected]>

files:
M Doc/library/cmath.rst

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
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to