gh-137871: Clarify cmath.nan documentation by linking to math module (#137876)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
Aziz 2025-10-14 10:24:43 +02:00 committed by GitHub
parent fb25d6b35c
commit 025b4034d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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