mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
Calling int(a) when type(a) implements __trunc__ but not __int__ or __index__ now raises a DeprecationWarning.
Calling int(a) when type(a) implements __trunc__ but not __int__ or __index__ now raises a DeprecationWarning.