diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-25 23:53:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 23:53:27 (GMT) |
commit | 5ab745fc51e159ead28b523414e52f0bcc1ef353 (patch) | |
tree | 02cb9106f63ae34f86803f92b604587abd359314 /Misc | |
parent | 4060111f9dc44682f9d7bdafb4e7dacb96706ad3 (diff) | |
download | cpython-5ab745fc51e159ead28b523414e52f0bcc1ef353.zip cpython-5ab745fc51e159ead28b523414e52f0bcc1ef353.tar.gz cpython-5ab745fc51e159ead28b523414e52f0bcc1ef353.tar.bz2 |
bpo-46852: Remove the float.__set_format__() method (GH-31585)
Remove the undocumented private float.__set_format__() method,
previously known as float.__set_format__() in Python 3.7. Its
docstring said: "You probably don't want to use this function. It
exists mainly to be used in Python's test suite."
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-02-25-01-42-45.bpo-46852.nkRDvV.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-02-25-01-42-45.bpo-46852.nkRDvV.rst b/Misc/NEWS.d/next/Core and Builtins/2022-02-25-01-42-45.bpo-46852.nkRDvV.rst new file mode 100644 index 0000000..cd0049a --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-02-25-01-42-45.bpo-46852.nkRDvV.rst @@ -0,0 +1,4 @@ +Remove the undocumented private ``float.__set_format__()`` method, previously +known as ``float.__setformat__()`` in Python 3.7. Its docstring said: "You +probably don't want to use this function. It exists mainly to be used in +Python's test suite." Patch by Victor Stinner. |