mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
stdlib: add some parameter defaults (#14610)
This commit is contained in:
@@ -329,7 +329,7 @@ class _patcher:
|
||||
create: bool = ...,
|
||||
spec_set: Any | None = ...,
|
||||
autospec: Any | None = ...,
|
||||
new_callable: None = ...,
|
||||
new_callable: None = None,
|
||||
**kwargs: Any,
|
||||
) -> _patch_pass_arg[MagicMock | AsyncMock]: ...
|
||||
@overload
|
||||
@@ -368,7 +368,7 @@ class _patcher:
|
||||
create: bool = ...,
|
||||
spec_set: Any | None = ...,
|
||||
autospec: Any | None = ...,
|
||||
new_callable: None = ...,
|
||||
new_callable: None = None,
|
||||
**kwargs: Any,
|
||||
) -> _patch_pass_arg[MagicMock | AsyncMock]: ...
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user