mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -24,6 +24,7 @@ class ApplyResult(Generic[_T]):
|
||||
callback: Callable[[_T], None] | None,
|
||||
error_callback: Callable[[BaseException], None] | None,
|
||||
) -> None: ...
|
||||
|
||||
def get(self, timeout: float | None = ...) -> _T: ...
|
||||
def wait(self, timeout: float | None = ...) -> None: ...
|
||||
def ready(self) -> bool: ...
|
||||
@@ -59,6 +60,7 @@ class IMapIterator(Iterator[_T]):
|
||||
def __init__(self, pool: Pool) -> None: ...
|
||||
else:
|
||||
def __init__(self, cache: dict[int, IMapIterator[Any]]) -> None: ...
|
||||
|
||||
def __iter__(self: Self) -> Self: ...
|
||||
def next(self, timeout: float | None = ...) -> _T: ...
|
||||
def __next__(self, timeout: float | None = ...) -> _T: ...
|
||||
|
||||
Reference in New Issue
Block a user