mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Python 3.11 removals in stdlib (#6374)
Co-authored-by: Akuli <akuviljanen17@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -85,7 +85,8 @@ class FileInput(Iterable[AnyStr], Generic[AnyStr]):
|
||||
def __exit__(self, type: Any, value: Any, traceback: Any) -> None: ...
|
||||
def __iter__(self) -> Iterator[AnyStr]: ...
|
||||
def __next__(self) -> AnyStr: ...
|
||||
def __getitem__(self, i: int) -> AnyStr: ...
|
||||
if sys.version_info < (3, 11):
|
||||
def __getitem__(self, i: int) -> AnyStr: ...
|
||||
def nextfile(self) -> None: ...
|
||||
def readline(self) -> AnyStr: ...
|
||||
def filename(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user