Hacker News new | ask | show | jobs
by unoti 3742 days ago
Grouper is a recipe, it's not part of itertools. It probably should be!
1 comments

All of the recipes in the itertools documentation should pretty much be considered folklore imho. If you always use the 'zip((iterator,)n)' approach, people will recognize it and know immediately what you mean.