bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952)
Deprecate using the __int__() method in implicit conversions of Python numbers to C integers.
S
Serhiy Storchaka committed
6a44f6eef3d0958d88882347190b3e2d1222c2e9
Parent: d90a141
Committed by GitHub <noreply@github.com>
on 2/25/2019, 3:57:58 PM