[Python-Dev] iterator API in Py3.0
Jeremy Hylton
jeremy at alum.mit.edu
Fri Mar 3 23:24:31 CET 2006
More information about the Python-Dev mailing list
Fri Mar 3 23:24:31 CET 2006
- Previous message: [Python-Dev] iterator API in Py3.0
- Next message: [Python-Dev] iterator API in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 3/3/06, Phillip J. Eby <pje at telecommunity.com> wrote: > 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. :) I've got no problem with dots. No shift key necessary :-). On the subject of predilections and builtins, I find myself typing .size() a lot lately. Too much C++, I guess, but it seems so natural as I type it. Jeremy
- Previous message: [Python-Dev] iterator API in Py3.0
- Next message: [Python-Dev] iterator API in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list