mirror of https://github.com/python/cpython
f79ffc879b
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> |
||
---|---|---|
.. | ||
compound_stmts.rst | ||
datamodel.rst | ||
executionmodel.rst | ||
expressions.rst | ||
grammar.rst | ||
import.rst | ||
index.rst | ||
introduction.rst | ||
lexical_analysis.rst | ||
simple_stmts.rst | ||
toplevel_components.rst |