[Python-ideas] What are the strong use cases for str.rindex()?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 25 19:12:51 EDT 2019


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



More information about the Python-ideas mailing list