mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 08:38:26 +08:00
committed by
Ivan Levkivskyi
parent
7c3edba6ce
commit
0393de4bd7
@@ -1060,6 +1060,7 @@ class file(BinaryIO):
|
||||
@overload
|
||||
def __init__(self, file: int, mode: str = ..., buffering: int = ...) -> None: ...
|
||||
def __iter__(self) -> Iterator[str]: ...
|
||||
def next(self) -> str: ...
|
||||
def read(self, n: int = ...) -> str: ...
|
||||
def __enter__(self) -> BinaryIO: ...
|
||||
def __exit__(self, t: Optional[type] = ..., exc: Optional[BaseException] = ..., tb: Optional[Any] = ...) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user