mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-19 08:14:13 +08:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user