[Python-Dev] Re: PEP 279 revisited (original) (raw)

Scott Gilbert xscottg@yahoo.com
Wed, 24 Apr 2002 00:49:08 -0700 (PDT)


--- Alex Martelli <aleax@aleax.it> wrote:

... > There doesn't seem to be any single English word that > captures all of what we mean without ambiguity.

Not a single VERB -- adjective "numbered" might do. Unfortunately [...]

If there is no really good name, how about just adopting a new simple, short, word like "each", and letting it become the idiom?

for i, v in each(L):
    print i, v

It worked for "zip" right?


Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/