-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
itertools.batched
v3.13 function (#177)
* Implement itertools.batched * Match upstream args/example, add docs, better error tests --------- Co-authored-by: Stanley Kudrow <[email protected]> Co-authored-by: Amethyst Reese <[email protected]>
- Loading branch information
1 parent
538f169
commit ad505f3
Showing
3 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
) | ||
from .itertools import ( | ||
accumulate, | ||
batched, | ||
chain, | ||
combinations, | ||
combinations_with_replacement, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters