Skip to content

Commit 246ce97

Browse files
AzizCode92skirpichev
authored andcommitted
gh-137871: Clarify cmath.nan documentation by linking to math module (GH-137876)
(cherry picked from commit 025b403) Co-authored-by: Aziz <[email protected]> Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent 4c0dab9 commit 246ce97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/cmath.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Constants
338338
.. data:: nan
339339

340340
A floating-point "not a number" (NaN) value. Equivalent to
341-
``float('nan')``.
341+
``float('nan')``. See also :data:`math.nan`.
342342

343343
.. versionadded:: 3.6
344344

0 commit comments

Comments
 (0)