On Sat, May 9, 2020 at 12:58 PM Paul Moore <p.f.mo...@gmail.com> wrote:
> > Why would you use islice(x, None, 10)? islice(x, 10) does the same... > I guess you might occasionally do islice(x, None, end, step), but that > seems fairly rare. > My mistake, I meant islice(x, 10, None) where you're doing the slice [10:]. I didn't think about the step case, that's another small argument in favor of this feature.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/Y3EBTRLOWU6MAUGUH3X2TOSBB2GKGAWQ/ Code of Conduct: http://python.org/psf/codeofconduct/