gh-119740: Remove deprecated trunc delegation (#119743)
Remove the delegation of `int` to the `__trunc__` special method: `int` will now only delegate to `__int__` and `__index__` (in that order). `__trunc__` continues to exist, but its sole purpose is to support `math.trunc`. --------- Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Mark Dickinson committed
f79ffc879b919604ed5de22ece83825006cf9a17
Parent: 4aed319
Committed by GitHub <noreply@github.com>
on 6/2/2024, 9:16:49 AM