Skip to content

Commit 5452a2e

Browse files
Update Doc/library/cmath.rst
Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent f2cada9 commit 5452a2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/cmath.rst

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

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

343345
.. versionadded:: 3.6
344346

0 commit comments

Comments
 (0)