On Tue, Nov 17, 2020 at 10:17:32PM +0000, Oscar Benjamin wrote:

> It would be nice if islice gave an object that supported slicing so
> that you could spell it like:
> 
>    for x in islice(a)[5:]:
> 
> I find it hard to decipher the meaning of the arguments to islice
> compared to reading a normal slice expression.

Do you find the arguments to `range()` equally hard to decipher? Because 
they're pretty much identical.


-- 
Steve
_______________________________________________
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/OYKGYDZF4I2OBIFIHORXXRXAESNCOUL7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to