mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -79,6 +79,7 @@ class FileInput(Iterator[AnyStr], Generic[AnyStr]):
|
||||
mode: str = ...,
|
||||
openhook: Callable[[StrOrBytesPath, str], IO[AnyStr]] = ...,
|
||||
) -> None: ...
|
||||
|
||||
def __del__(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
@@ -87,6 +88,7 @@ class FileInput(Iterator[AnyStr], Generic[AnyStr]):
|
||||
def __next__(self) -> 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