Skip to content

Commit 3c2e361

Browse files
ambvskirpichev
andauthored
Adjust docs to not say "ASCII"
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
1 parent 9353f09 commit 3c2e361

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/functions.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ 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),
421-
``'-'`` (ASCII hyphen minus), ``'−'`` (Unicode minus sign, U+2212), the
420+
The string must not contain whitespace between ``'+'``, ``'-'``,
421+
``'−'`` (Unicode minus sign, U+2212), the
422422
``'j'`` or ``'J'`` suffix, and the decimal number. For example,
423423
``complex('1+2j')`` is fine, but ``complex('1 + 2j')`` raises :exc:`ValueError`.
424424
More precisely, the input must conform to the :token:`~float:complexvalue`
@@ -468,8 +468,7 @@ are always available. They are listed here in alphabetical order.
468468

469469
.. versionchanged:: next
470470
``'−'`` (Unicode minus sign, U+2212) can be now used as an
471-
alternative to ``'-'`` (ASCII hyphen minus) for denoting
472-
negative sign.
471+
alternative to ``'-'`` for denoting negative sign.
473472

474473

475474
.. function:: delattr(object, name, /)

0 commit comments

Comments
 (0)