diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-15 16:07:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 16:07:00 (GMT) |
commit | 94bee45dee41876e88fe023b9163178d376355dc (patch) | |
tree | edbd2ba0cf02984c04d7691fbdb54857652d0840 /.mailmap | |
parent | 8303d32ff55945c5b38eeeaf1b1811dbcf8aa9be (diff) | |
download | cpython-94bee45dee41876e88fe023b9163178d376355dc.zip cpython-94bee45dee41876e88fe023b9163178d376355dc.tar.gz cpython-94bee45dee41876e88fe023b9163178d376355dc.tar.bz2 |
gh-84978: Add float.from_number() and complex.from_number() (GH-26827)
They are alternate constructors which only accept numbers
(including objects with special methods __float__, __complex__
and __index__), but not strings.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions