Skip to content

Commit 6391d27

Browse files
committed
Parenthesize consistently
I think that reads better
1 parent 26dadc5 commit 6391d27

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Doc/library/functions.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,9 @@ are always available. They are listed here in alphabetical order.
467467
deprecated; it should only be passed as a single positional argument.
468468

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

473474

474475
.. function:: delattr(object, name, /)
@@ -1091,8 +1092,9 @@ are always available. They are listed here in alphabetical order.
10911092
:func:`int` no longer delegates to the :meth:`~object.__trunc__` method.
10921093

10931094
.. versionchanged:: 3.15
1094-
:func:`int` now supports Unicode minus sign ```` (U+2212) as an alternative
1095-
to ASCII hyphen minus ``-`` for denoting negative integers.
1095+
:func:`int` now supports ```` (Unicode minus sign, U+2212)
1096+
as an alternative to ``-`` (ASCII hyphen minus) for denoting
1097+
negative integers.
10961098

10971099
.. function:: isinstance(object, classinfo, /)
10981100

0 commit comments

Comments
 (0)