summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Foord <michael@voidspace.org.uk>2012-03-28 15:33:26 +0100
committerMichael Foord <michael@voidspace.org.uk>2012-03-28 15:33:26 +0100
commite15374a44e88b6a04344cb1723ac86cb692524f2 (patch)
tree6d04a90dc20adb0c79d15e03832337bb5096d98b
parent80176401151eaf67c77ac81929af618f69461d0d (diff)
downloadmock-e15374a44e88b6a04344cb1723ac86cb692524f2.tar.gz
Updated example to patch documentation
-rw-r--r--docs/patch.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/patch.txt b/docs/patch.txt
index e86899c..4619b01 100644
--- a/docs/patch.txt
+++ b/docs/patch.txt
@@ -108,7 +108,8 @@ patch
`patch.dict(...)`, `patch.multiple(...)` and `patch.object(...)` are
available for alternate use-cases.
-`patch` as function decorator:
+`patch` as function decorator, creating the mock for you and passing it into
+the decorated function:
.. doctest::