[Python-Dev] Iterable String Redux (aka String ABC) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 30 00:30:45 CEST 2008
- Previous message: [Python-Dev] Iterable String Redux (aka String ABC)
- Next message: [Python-Dev] Iterable String Redux (aka String ABC)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mike Klaas wrote:
I agree that it would be perverse to disallowing iterating over a string.
Just to be clear, I'm saying that it would be perverse to disallow iterating but to allow indexing of individual characters. Either you should have both or you should have neither.
-- Greg
- Previous message: [Python-Dev] Iterable String Redux (aka String ABC)
- Next message: [Python-Dev] Iterable String Redux (aka String ABC)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]