James Hilton-Balfe
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
discord/utils.py
|
|
@ -980,12 +980,12 @@ async def _achunk(iterator: AsyncIterable[T], max_size: int) -> AsyncIterator[Li |
|
|
|
|
|
|
|
|
|
|
|
@overload |
|
|
|
def as_chunks(iterator: Iterable[T], max_size: int) -> Iterator[List[T]]: |
|
|
|
def as_chunks(iterator: AsyncIterable[T], max_size: int) -> AsyncIterator[List[T]]: |
|
|
|
... |
|
|
|
|
|
|
|
|
|
|
|
@overload |
|
|
|
def as_chunks(iterator: AsyncIterable[T], max_size: int) -> AsyncIterator[List[T]]: |
|
|
|
def as_chunks(iterator: Iterable[T], max_size: int) -> Iterator[List[T]]: |
|
|
|
... |
|
|
|
|
|
|
|
|
|
|
|