Update Unused parameters in stubs/ (#9704)

* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias
This commit is contained in:
Avasam authored and GitHub committed 2023-02-21 23:52:52 -08:00
1 parent fbc092b4cd
commit 078c6a0958
33 files changed
+134 -133

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@ from _typeshed import (
OpenTextModeReading,
OpenTextModeWriting,
SupportsWrite,
Unused,
)
from re import Pattern
from typing import Any, ClassVar
@@ -88,7 +89,7 @@ class NullInput(Input):
class NullOutput(Output):
default_destination_path: ClassVar[str]
def write(self, data: object) -> None: ...
def write(self, data: Unused) -> None: ...
class DocTreeInput(Input):
default_source_path: ClassVar[str]