On Sat, May 9, 2020 at 12:58 PM Paul Moore <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/Y3EBTRLOWU6MAUGUH3X2TOSBB2GKGAWQ/ Code of Conduct: http://python.org/psf/codeofconduct/
