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
2023-02-22 02:52:52 -05:00
committed by GitHub
parent fbc092b4cd
commit 078c6a0958
33 changed files with 134 additions and 133 deletions

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]