cpython/Doc/reference
Mark Dickinson f79ffc879b
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>
2024-06-02 10:16:49 +01:00
..
compound_stmts.rst gh-116126: Implement PEP 696 (#116129) 2024-05-03 06:17:32 -07:00
datamodel.rst gh-119740: Remove deprecated trunc delegation (#119743) 2024-06-02 10:16:49 +01:00
executionmodel.rst gh-116126: Implement PEP 696 (#116129) 2024-05-03 06:17:32 -07:00
expressions.rst
grammar.rst
import.rst
index.rst
introduction.rst
lexical_analysis.rst gh-107607: Update comment about utf-8 BOM being ignored (#107858) 2024-03-19 11:51:12 -04:00
simple_stmts.rst gh-56374: Clarify documentation of nonlocal (#116942) 2024-03-19 13:55:21 -04:00
toplevel_components.rst