Skip to content

Commit

Permalink
Add what's new entry
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed May 29, 2024
1 parent 07e24bb commit c78d637
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ Others
It had previously raised a :exc:`DeprecationWarning` since Python 3.9. (Contributed
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:`119742`).


Porting to Python 3.14
======================
Expand Down

0 comments on commit c78d637

Please sign in to comment.