[Python-Dev] string representation of range in 3.0
Paul Moore
p.f.moore at gmail.com
Wed Apr 16 14:59:40 CEST 2008
On 16/04/2008, Armin Rigo <arigo at tunes.org> wrote:
> What about the less confusing and more readily generalizable:
>
> <range object 0, 1, ..., 9>
>
> It would also be helpful IMHO to use this kind of repr for most built-in
> iterators and iterables, instead of their mosty-useless default repr.
I quite like this. But as a non-beginner, I'll freely admit that my
intuitions are suspect :-)
Paul.
More information about the Python-Dev
mailing list