Skip to content

Commit b4b9574

Browse files
committed
Update stdtypes reference
1 parent 5ce17c9 commit b4b9574

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,9 @@ Notes:
352352
alternative conversions.
353353

354354
(4)
355-
float also accepts the strings "nan" and "inf" with an optional prefix "+"
356-
or "-" for Not a Number (NaN) and positive or negative infinity.
355+
float also accepts the strings "nan" and "inf" with an optional prefix ASCII plus
356+
sign "+" or ASCII hyphen minus "-" or Unicode minus sign "−" (U+2212) for Not a Number
357+
(NaN) and positive or negative infinity.
357358

358359
(5)
359360
Python defines ``pow(0, 0)`` and ``0 ** 0`` to be ``1``, as is common for

0 commit comments

Comments
 (0)