A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023635.html below:

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

[Python-Dev] an oddball alternative name for enumerate() [Python-Dev] an oddball alternative name for enumerate()Fred L. Drake, Jr. fdrake@acm.org
Fri, 26 Apr 2002 10:45:09 -0400
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.  <fdrake at acm.org>
PythonLabs at Zope Corporation




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4