commit | 7d03c8be5af2f1559dbc35b775b3116dfd63cfb6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Feb 25 03:05:25 2022 +0100 |
committer | GitHub <noreply@github.com> | Fri Feb 25 03:05:25 2022 +0100 |
tree | ee3ab35b838f7460e90a3330fc0a97eb12adacda | |
parent | 1b2611eb0283055835e5df632a7a735db8c894b8 [diff] |
bpo-46852: Rename float.__set_format__() to float.__setformat__() (GH-31558) Rename the private undocumented float.__set_format__() method to float.__setformat__() to fix a typo introduced in Python 3.7. The method is only used by test_float. The change enables again test_float tests on the float format which were previously skipped because of the typo. The typo was introduced in Python 3.7 by bpo-20185 in commit b5c51d3dd95bbfde533655fb86ac0f96f771ba7b.