Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03308ef

Browse files
Fix reference to function when we really want a reference to a type
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 26d5833 commit 03308ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Others
209209

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

215215

0 commit comments

Comments
 (0)