mirror of https://github.com/python/cpython
Fix unittest.mock.patch docstring
This commit is contained in:
parent
2309ed861a
commit
aa8ec7e076
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue