> P.S. I'm leaning toward Alex's suggested argument order. Having a > default identity function is too attractive to pass up. So the choice > is between a style like map(None, s) or something closer to > list.sorted(s, key=). Though the latter is not consistent with other > itertools, it wins in the beauty department and its similarity with the > key= is a accurate, helpful analogy. Good. Have you thought about the name yet? Will it be grouped() or grouby()? --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4