[Python-Dev] Suggestion for a new built-in - flatten

skip at pobox.com skip at pobox.com
Fri Sep 22 20:46:15 CEST 2006


    Michael> There are several different possible approaches in pure Python,
    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.

Skip


More information about the Python-Dev mailing list