[Tutor] 'slice', etc

Danny Yoo dyoo at hashcollision.org
Fri Dec 6 20:33:36 CET 2013


>
>
> PS: I searched but could not find a PEP specifically dedicated to 'slice'
> only. Pointers welcome, especially to docs explaining purpose, rationale,
> design, etc... Maybe this means slices have always existed and I just
> missed them totally?
>
>
I believe that slices have always been a part of the language.  Here is
supporting evidence:


http://python-history.blogspot.com/2013/10/why-python-uses-0-based-indexing.html


For your other questions, unfortunately I don't know offhand and can't
spend time on researching it at the moment.  :P  But hopefully others can
help with this.


Good luck!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131206/95fe6f9b/attachment.html>


More information about the Tutor mailing list