A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062041.html below:

[Python-Dev] iterator API in Py3.0

[Python-Dev] iterator API in Py3.0 [Python-Dev] iterator API in Py3.0Jeremy Hylton jeremy at alum.mit.edu
Fri Mar 3 23:24:31 CET 2006
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4