https://github.com/python/cpython/commit/025b4034d6c80900aedea3b397cb730dc4910ef0 commit: 025b4034d6c80900aedea3b397cb730dc4910ef0 branch: main author: Aziz <[email protected]> committer: hugovk <[email protected]> date: 2025-10-14T11:24:43+03:00 summary:
gh-137871: Clarify cmath.nan documentation by linking to math module (#137876) 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]
