In article <guh5qc$ls...@ger.gmane.org>,
 Neal Becker <ndbeck...@gmail.com> wrote:
> Is there any canned iterator adaptor that will 
> 
> transform:
> in = [1,2,3....]
> 
> into:
> out = [(1,2,3,4), (5,6,7,8),...]
> 
> That is, each time next() is called, a tuple of the next N items is 
> returned.

This topic was discussed here just a few days ago:

<http://comments.gmane.org/gmane.comp.python.general/622763>

-- 
 Ned Deily,
 n...@acm.org

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to