From 03308ef6c615221d9c14fc23418c72ea6d1157b2 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 2 Jun 2024 09:37:08 +0100 Subject: [PATCH] Fix reference to function when we really want a reference to a type Co-authored-by: Serhiy Storchaka --- Doc/whatsnew/3.14.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 4c1fc0068e2088..2cd9a36fca3710 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -209,7 +209,7 @@ Others * The :func:`int` built-in will no longer delegate to :meth:`~object.__trunc__`. Classes that want to support conversion to - :func:`int` must implement either :meth:`~object.__int__` or + integer must implement either :meth:`~object.__int__` or :meth:`~object.__index__`. (Contributed by Mark Dickinson in :gh:`119743`.)