[Python-Dev] an oddball alternative name for enumerate() (original) (raw)
Fred L. Drake, Jr. fdrake@acm.org
Fri, 26 Apr 2002 10:45:09 -0400
- Previous message: [Python-Dev] an oddball alternative name for enumerate()
- Next message: [Python-Dev] an oddball alternative name for enumerate()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andrew Koenig writes:
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.
Or still worse, marshaling data to a stream.
But what about inventory()? My mental image is of someone going around with a bunch of numbered stickers, attaching one to every relevant object.
Hmmm... sounds like this function, whatever it gets called, will require a cartoon in the manual. ;-)
-Fred
-- Fred L. Drake, Jr. PythonLabs at Zope Corporation
- Previous message: [Python-Dev] an oddball alternative name for enumerate()
- Next message: [Python-Dev] an oddball alternative name for enumerate()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]