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

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

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 4090e19762a8f5..0f0b823cf36847 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