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

Michael Gilfix mgilfix@eecs.tufts.edu
Wed, 24 Apr 2002 10:29:49 -0400


I'm glad I came across this post because I was about to write it myself. indices () seems like a good explanation of what's going on. It returns both the index and what it corresponds to. Much better than enumerate.

                 -- Mike

On Wed, Apr 24 @ 06:37, Neil Schemenauer wrote:

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

How about "indices"? You use a key to get things out of dictionaries. You use an index to get things out of sequences. "indices" is the pural of index. Neil


Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev `-> (nas)

-- Michael Gilfix mgilfix@eecs.tufts.edu

For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html