[Python-Dev] Suggestion for a new built-in - flatten
brett at python.org
Fri Sep 22 21:01:28 CEST 2006
On 9/22/06, skip at pobox.com <skip at pobox.com> wrote:
> Michael> There are several different possible approaches in pure
> Michael> but is this an idea that has legs ?
> Why not add it to itertools? Then, if you need a true list, just call
> list() on the returned iterator.
Yeah, this is a better solution. flatten() just doesn't scream "built-in!"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev