Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
unoti
on March 27, 2016
|
parent
|
context
|
favorite
| on:
Comprehensions in Python the Jedi way
Grouper is a recipe, it's not part of itertools. It probably should be!
thomasahle
on March 27, 2016
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: