Steven D'Aprano wrote:
I too often forget that reverse() returns an iterator,

That seems like a mistake. Shouldn't it return a view?

--
Greg

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to