On 24/02/20 9:32 am, jdve...@gmail.com wrote:
It is a common "pattern" in any languages to walk along strings,
letter by letter.

Maybe in some other languages, but I very rarely find myself doing
that in Python. There is almost always some higher level way of
doing what I want.

if strings are not longer sequences, how would
Python do slicing on strings

It's quite possible for a type to support slicing but not indexing.

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

Reply via email to