Serhiy Storchaka added the comment: Why not index the slice type itself? slice[1:2]
> Another feature of the new `literal` object is that it is not limited to just > the creation of `slice` instances; instead, it is designed to mix slices and > other types together. This looks as disadvantage. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24379> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com