summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-08-26 18:19:47 (GMT)
committerGitHub <noreply@github.com>2021-08-26 18:19:47 (GMT)
commitf9cd40f5e242d3c64cc20a5064500f5fe864f91f (patch)
treea353f17baa2aebf00cea75e8debec59dfa245141 /Doc/library/unittest.mock.rst
parent989f6a3800f06b2bd31cfef7c3269a443ad94fac (diff)
downloadcpython-f9cd40f5e242d3c64cc20a5064500f5fe864f91f.zip
cpython-f9cd40f5e242d3c64cc20a5064500f5fe864f91f.tar.gz
cpython-f9cd40f5e242d3c64cc20a5064500f5fe864f91f.tar.bz2
bpo-45010: Remove support of special method __div__ in unittest.mock (GH-27965)
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r--Doc/library/unittest.mock.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index 2f82fde..0856c3f 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -2020,7 +2020,7 @@ The full list of supported magic methods is:
* Context manager: ``__enter__``, ``__exit__``, ``__aenter__`` and ``__aexit__``
* Unary numeric methods: ``__neg__``, ``__pos__`` and ``__invert__``
* The numeric methods (including right hand and in-place variants):
- ``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__div__``, ``__truediv__``,
+ ``__add__``, ``__sub__``, ``__mul__``, ``__matmul__``, ``__truediv__``,
``__floordiv__``, ``__mod__``, ``__divmod__``, ``__lshift__``,
``__rshift__``, ``__and__``, ``__xor__``, ``__or__``, and ``__pow__``
* Numeric conversion methods: ``__complex__``, ``__int__``, ``__float__``