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
+2 -2
View File
@@ -1,5 +1,5 @@
import datetime
from _typeshed import ReadableBuffer
from _typeshed import ReadableBuffer, Unused
from collections import OrderedDict
from collections.abc import Iterator
from re import Match, Pattern
@@ -121,7 +121,7 @@ class HashExpander:
range_end: int | None = None,
range_begin: int | None = None,
) -> int: ...
def match(self, efl: object, idx: object, expr: str, hash_id: object = None, **kw: object) -> Match[str] | None: ...
def match(self, efl: Unused, idx: Unused, expr: str, hash_id: Unused = None, **kw: Unused) -> Match[str] | None: ...
def expand(
self,
efl: object,