diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 90793b9df2410d..6add6a64cf4631 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -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