Replace Any with Incomplete in many places (#9565)

This commit is contained in:
Avasam authored and GitHub committed 2023-01-18 19:12:46 +00:00
1 parent a4e3cfefac
commit 6ac24ed923
16 files changed
+55 -48

No files matched your search

+4 -4
View File
@@ -177,11 +177,11 @@ class _patch(Generic[_T]):
getter: Callable[[], Any],
attribute: str,
new: _T,
spec: Any | None,
spec: Incomplete | None,
create: bool,
spec_set: Any | None,
autospec: Any | None,
new_callable: Any | None,
spec_set: Incomplete | None,
autospec: Incomplete | None,
new_callable: Incomplete | None,
kwargs: Mapping[str, Any],
*,
unsafe: bool = ...,