On Wed, Dec 16, 2009 at 7:33 AM, Peter Otten <__pete...@web.de> wrote:

> islice() could be changed to special-case lists and tuples, but that feels
> a
> bit unclean.
>

How about special-casing objects that implement collections.Sequence?

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to