summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2024-06-02 09:16:49 (GMT)
committerGitHub <noreply@github.com>2024-06-02 09:16:49 (GMT)
commitf79ffc879b919604ed5de22ece83825006cf9a17 (patch)
tree4174214b7ad81d2277e584d4fa9e6c1ccec3e95a /Python/bltinmodule.c
parent4aed319a8eb63b205d6007c36713cacdbf1ce8a3 (diff)
downloadcpython-f79ffc879b919604ed5de22ece83825006cf9a17.zip
cpython-f79ffc879b919604ed5de22ece83825006cf9a17.tar.gz
cpython-f79ffc879b919604ed5de22ece83825006cf9a17.tar.bz2
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>
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions