Y
Hacker News
new
|
ask
|
show
|
jobs
by
thomasahle
3742 days ago
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.