]> granicus.if.org Git - python/commit
bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 1 Jun 2019 21:05:48 +0000 (00:05 +0300)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2019 21:05:48 +0000 (00:05 +0300)
commitbdbad71b9def0b86433de12cecca022eee91bd9f
tree147c8a3e08454a95e0e4900388d88f7b65430f63
parent1a4d9ffa1aecd7e750195f2be06d3d16c7a3a88f
bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108)
15 files changed:
Doc/c-api/complex.rst
Doc/c-api/float.rst
Doc/library/functions.rst
Doc/reference/datamodel.rst
Doc/whatsnew/3.8.rst
Lib/test/test_cmath.py
Lib/test/test_complex.py
Lib/test/test_float.py
Lib/test/test_getargs2.py
Lib/test/test_index.py
Lib/test/test_int.py
Misc/NEWS.d/next/Core and Builtins/2019-05-31-11-55-49.bpo-20092.KIMjBW.rst [new file with mode: 0644]
Objects/abstract.c
Objects/complexobject.c
Objects/floatobject.c