mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-12 13:11:42 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user