[Python-ideas] Add a datatype collections.ListView

Ryan Hiebert ryan at ryanhiebert.com
Thu Apr 17 20:28:19 CEST 2014


On Thu, Apr 17, 2014 at 1:12 PM, Terry Reedy <tjreedy at udel.edu> wrote:

> Range gives you a lot for free, including slicing.
>

I have wondered why Python has both slice and range, given the power that
range has. Is there anything that slice can do that range can't, or are
there some functional differences?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140417/87a0e95d/attachment.html>


More information about the Python-ideas mailing list