[Python-Dev] iterator API in Py3.0

Phillip J. Eby pje at telecommunity.com
Fri Mar 3 23:08:05 CET 2006


At 04:09 PM 3/3/2006 -0500, Jeremy Hylton wrote:
>I think it is a little odd that next is not spelled __next__, but I
>appreciate the reasons given here in particular.  Every time I right
>.next(), I'm happy that it doesn't have underscores.

But then next(ob) should make you even happier, because then there's no 
'.', either.  :)



More information about the Python-Dev mailing list