Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-15 00:18:19 +00:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions

View File

@@ -1,5 +1,5 @@
import sys
from typing import Any, Iterable, TextIO, Tuple, TypeVar
from typing import Any, Iterable, TextIO, TypeVar
def split(s: str, comments: bool = ..., posix: bool = ...) -> list[str]: ...
@@ -36,7 +36,7 @@ class shlex(Iterable[str]):
def get_token(self) -> str: ...
def push_token(self, tok: str) -> None: ...
def read_token(self) -> str: ...
def sourcehook(self, newfile: str) -> Tuple[str, TextIO]: ...
def sourcehook(self, newfile: str) -> tuple[str, TextIO]: ...
# TODO argument types
def push_source(self, newstream: Any, newfile: Any = ...) -> None: ...
def pop_source(self) -> None: ...