summaryrefslogtreecommitdiff
path: root/docs/magicmock.txt
diff options
context:
space:
mode:
authorfuzzyman <devnull@localhost>2010-06-25 20:15:11 +0000
committerfuzzyman <devnull@localhost>2010-06-25 20:15:11 +0000
commit60e59b47c3c719cc28acf7a6e05e29a6acd16bf7 (patch)
tree1b8dff77e581066c88e8cd930908a2d96d46b857 /docs/magicmock.txt
parent3ee920abbcd066e0f21e5908ac7c1dd4aa8d22b4 (diff)
downloadmock-60e59b47c3c719cc28acf7a6e05e29a6acd16bf7.tar.gz
Adding pickling magic methods to the supported-but-not-default set
Diffstat (limited to 'docs/magicmock.txt')
-rw-r--r--docs/magicmock.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/magicmock.txt b/docs/magicmock.txt
index 8a38002..e20059d 100644
--- a/docs/magicmock.txt
+++ b/docs/magicmock.txt
@@ -86,6 +86,8 @@ The full list of supported magic methods is:
* Numeric conversion methods: ``__complex__``, ``__int__``, ``__float__``,
``__index__`` and ``__coerce__``
* Descriptor methods: ``__get__``, ``__set__`` and ``__delete__``
+* Pickling: ``__reduce__`` and ``__reduce_ex__``
+
The following methods are supported in Python 2 but don't exist in Python 3:
@@ -182,6 +184,7 @@ Magic methods that are supported but not setup by default in ``MagicMock`` are:
* ``__format__``
* ``__get__``, ``__set__`` and ``__delete__``
* ``__reversed__`` and ``__missing__``
+* ``__reduce__`` and ``__reduce_ex__``