[Python-Dev] an oddball alternative name for enumerate()

Andrew Koenig ark@research.att.com
26 Apr 2002 10:33:11 -0400

What does the function do?  It attaches a serial number to each
element of a sequence.  So my first thought was that it should
be named serialize(), but of course that sounds like it's related
to parallel processing.

But what about inventory()?  My mental image is of someone going
around with a bunch of numbered stickers, attaching one to
every relevant object.

Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark