]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46852: Remove the float.__set_format__() method (GH-31585)
authorVictor Stinner <vstinner@python.org>
Fri, 25 Feb 2022 23:53:27 +0000 (00:53 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Feb 2022 23:53:27 +0000 (00:53 +0100)
commit5ab745fc51e159ead28b523414e52f0bcc1ef353
tree02cb9106f63ae34f86803f92b604587abd359314
parent4060111f9dc44682f9d7bdafb4e7dacb96706ad3
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."
Doc/library/unittest.mock.rst
Doc/whatsnew/3.11.rst
Lib/test/test_float.py
Lib/unittest/mock.py
Misc/NEWS.d/next/Core and Builtins/2022-02-25-01-42-45.bpo-46852.nkRDvV.rst [new file with mode: 0644]
Objects/clinic/floatobject.c.h
Objects/floatobject.c