>
> I was not proposing a character type, only that strings are not iterable:
>
> for i in 'abc':
>     print(i)
>
> TypeError: 'str' object is not iterable
>

but

for i in 'abc'.chars():
    print(i)

a
b
c
_______________________________________________
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