@@ -417,10 +417,10 @@ are always available. They are listed here in alphabetical order.
417417 parts (the sign of the imaginary part is mandatory in this case).
418418 The string can optionally be surrounded by whitespaces and the round
419419 parentheses ``'(' `` and ``')' ``, which are ignored.
420- The string must not contain whitespace between ASCII plus sign ``'+' `` or ASCII hyphen minus
421- ``'-' `` or Unicode minus sign ``'−' `` (U+2212), the `` 'j' `` or `` 'J' `` suffix, and the decimal
422- number. For example, `` complex('1+2j') `` is fine, but `` complex('1 + 2j') `` raises
423- :exc: `ValueError `.
420+ The string must not contain whitespace between ``'+' `` ( ASCII plus sign),
421+ ``'-' `` (ASCII hyphen minus), ``'−' `` (Unicode minus sign, U+2212), the
422+ `` 'j' `` or `` 'J' `` suffix, and the decimal number. For example,
423+ `` complex('1+2j') `` is fine, but `` complex('1 + 2j') `` raises :exc: `ValueError `.
424424 More precisely, the input must conform to the :token: `~float:complexvalue `
425425 production rule in the following grammar, after parentheses and leading and
426426 trailing whitespace characters are removed:
@@ -1046,8 +1046,8 @@ are always available. They are listed here in alphabetical order.
10461046 If the argument is not a number or if *base * is given, then it must be a string,
10471047 :class: `bytes `, or :class: `bytearray ` instance representing an integer
10481048 in radix *base *. Optionally, the string can be directly preceded (with no whitespaces
1049- in between) by ASCII plus sign ``+ ``, ASCII hyphen minus `` - `` or Unicode minus sign
1050- `` − `` ( U+2212), have leading zeros, be surrounded by whitespace,
1049+ in between) by `` + `` ( ASCII plus sign), ``- `` ( ASCII hyphen minus) or `` − `` ( Unicode
1050+ minus sign, U+2212), have leading zeros, be surrounded by whitespace,
10511051 and have single underscores interspersed between digits.
10521052
10531053 A base-n integer string contains digits, each representing a value from 0 to
0 commit comments