We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce17c9 commit b4b9574Copy full SHA for b4b9574
Doc/library/stdtypes.rst
@@ -352,8 +352,9 @@ Notes:
352
alternative conversions.
353
354
(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.
+ float also accepts the strings "nan" and "inf" with an optional prefix ASCII plus
+ sign "+" or ASCII hyphen minus "-" or Unicode minus sign "−" (U+2212) for Not a Number
357
+ (NaN) and positive or negative infinity.
358
359
(5)
360
Python defines ``pow(0, 0)`` and ``0 ** 0`` to be ``1``, as is common for
0 commit comments