commit | 6a44f6eef3d0958d88882347190b3e2d1222c2e9 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon Feb 25 17:57:58 2019 +0200 |
committer | GitHub <noreply@github.com> | Mon Feb 25 17:57:58 2019 +0200 |
tree | bb6474b1e094a672837c3333a081fa4d5d7638f2 | |
parent | d90a141bb947b68601f8d1f37bc98f7b524f0e01 [diff] |
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.