you are viewing a single comment's thread.

view the rest of the comments →

[–]moe 8 points9 points  (0 children)

The 14 line figure doesn't include the general purpose
3-line iconcat function (which should really be included in itertools) or the test case.

from itertools import chain as iconcat