iterators and views of lists
Daniel Stutzbach
daniel at stutzbachenterprises.com
Wed Dec 16 09:12:58 EST 2009
On Wed, Dec 16, 2009 at 7:33 AM, Peter Otten <__peter__ at 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091216/bddee9ef/attachment-0001.html>
More information about the Python-list
mailing list