We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32871c0 commit 66383eeCopy full SHA for 66383ee
stdlib/unittest/mock.pyi
@@ -297,7 +297,7 @@ class _patcher:
297
@overload
298
def __call__( # type: ignore[misc]
299
self,
300
- target: Any,
+ target: str,
301
new: _T,
302
spec: Any | None = ...,
303
create: bool = ...,
@@ -309,7 +309,7 @@ class _patcher:
309
310
def __call__(
311
312
313
*,
314
315
0 commit comments