[Python-checkins] cpython: Fix unittest.mock.patch docstring
michael.foord
python-checkins at python.org
Wed Mar 28 16:41:15 CEST 2012
http://hg.python.org/cpython/rev/5d591507f6fe
changeset: 75975:5d591507f6fe
user: Michael Foord <michael at voidspace.org.uk>
date: Wed Mar 28 15:41:28 2012 +0100
summary:
Fix unittest.mock.patch docstring
files:
Lib/unittest/mock.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -1351,8 +1351,6 @@
):
"""
`patch` acts as a function decorator, class decorator or a context
-
- `patch` acts as a function decorator, class decorator or a context
manager. Inside the body of the function or with statement, the `target`
is patched with a `new` object. When the function/with statement exits
the patch is undone.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list