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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix reference to function when we really want a reference to a type
Co-authored-by: Serhiy Storchaka <[email protected]>
  • Loading branch information
mdickinson and serhiy-storchaka authored Jun 2, 2024
commit 03308ef6c615221d9c14fc23418c72ea6d1157b2
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Others

* The :func:`int` built-in will no longer delegate to
Comment thread
mdickinson marked this conversation as resolved.
Outdated
: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`.)


Expand Down