Skip to content

Commit 66383ee

Browse files
1 parent 32871c0 commit 66383ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: stdlib/unittest/mock.pyi

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class _patcher:
297297
@overload
298298
def __call__( # type: ignore[misc]
299299
self,
300-
target: Any,
300+
target: str,
301301
new: _T,
302302
spec: Any | None = ...,
303303
create: bool = ...,
@@ -309,7 +309,7 @@ class _patcher:
309309
@overload
310310
def __call__(
311311
self,
312-
target: Any,
312+
target: str,
313313
*,
314314
spec: Any | None = ...,
315315
create: bool = ...,

0 commit comments

Comments
 (0)