]> granicus.if.org Git - python/commitdiff
Fix unittest.mock.patch docstring
authorMichael Foord <michael@voidspace.org.uk>
Wed, 28 Mar 2012 14:41:28 +0000 (15:41 +0100)
committerMichael Foord <michael@voidspace.org.uk>
Wed, 28 Mar 2012 14:41:28 +0000 (15:41 +0100)
Lib/unittest/mock.py

index 0ae498c080829e6e1998b704fe58540fd0fdbe91..0a9aece8458ffe1c9241bcccf9e6247f575bb52b 100644 (file)
@@ -1350,8 +1350,6 @@ def patch(
         spec_set=None, autospec=None, new_callable=None, **kwargs
     ):
     """
-    `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