Skip to content

Commit

Permalink
Fix reST markup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed May 29, 2024
1 parent 0088603 commit ca6af89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ Others
by Jelle Zijlstra in :gh:`118767`.)

* The :class:`int` built-in will no longer delegate to
:meth:`~object.__trunc__`. Classes that want to support conversion to `int`
must implement either :meth:`~object.__int__` or :meth:`~object.__index__`.
(Contributed by Mark Dickinson in :gh:`119743`).
:meth:`~object.__trunc__`. Classes that want to support conversion to
:class:`int` must implement either :meth:`~object.__int__` or
:meth:`~object.__index__`. (Contributed by Mark Dickinson in :gh:`119743`).


Porting to Python 3.14
Expand Down

0 comments on commit ca6af89

Please sign in to comment.