mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-12 19:30:53 +08:00
Update most test/lint dependencies (#15582)
This commit is contained in:
+2
-2
@@ -151,8 +151,8 @@ class Untokenizer:
|
||||
# Returns str, unless the ENCODING token is present, in which case it returns bytes.
|
||||
def untokenize(iterable: Iterable[_Token]) -> str | Any: ...
|
||||
def detect_encoding(readline: Callable[[], bytes | bytearray]) -> tuple[str, Sequence[bytes]]: ...
|
||||
def tokenize(readline: Callable[[], bytes | bytearray]) -> Generator[TokenInfo, None, None]: ...
|
||||
def generate_tokens(readline: Callable[[], str]) -> Generator[TokenInfo, None, None]: ...
|
||||
def tokenize(readline: Callable[[], bytes | bytearray]) -> Generator[TokenInfo]: ...
|
||||
def generate_tokens(readline: Callable[[], str]) -> Generator[TokenInfo]: ...
|
||||
def open(filename: FileDescriptorOrPath) -> TextIO: ...
|
||||
def group(*choices: str) -> str: ... # undocumented
|
||||
def any(*choices: str) -> str: ... # undocumented
|
||||
|
||||
Reference in New Issue
Block a user