[Python-Dev] Re: PEP 279

David Abrahams David Abrahams" <david.abrahams@rcn.com
Tue, 2 Apr 2002 09:53:18 -0500


----- Original Message -----
From: "Guido van Rossum" <guido@python.org>
> [David Abrahams]
> > I missed what this function does,
>> x(seq) returns [(0, seq[0]), (1, seq[1]), ...]

Oh. Not sure why anyone wants to build that into the language, but
enumerate() seems like a decent name for it. itemize() seems OK too.
just-call-me-wafflebird-ly y'rs,
Dave

AltStyle によって変換されたページ (->オリジナル) /