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 /Doc/library/unittest.mock.rst | |
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 'Doc/library/unittest.mock.rst')
-rw-r--r-- | Doc/library/unittest.mock.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 69f1035..dbea928 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -2165,7 +2165,7 @@ Magic methods that are supported but not setup by default in ``MagicMock`` are: * ``__reversed__`` and ``__missing__`` * ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``, ``__getstate__`` and ``__setstate__`` -* ``__getformat__`` and ``__setformat__`` +* ``__getformat__`` |