A RetroSearch Logo

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

Search Query:

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

[Python-Dev] Re: PEP 279

[Python-Dev] Re: PEP 279Ken Manheimer klm@zope.com
Tue, 2 Apr 2002 18:47:13 -0500 (EST)
On Tue, 2 Apr 2002, Tim Peters wrote:

> > So now I'd like to choose between enumerate() and indexer().  Any
> > closing arguments?
> 
> I'm leaving that quote anonymous so nobody gives it more or less weight than
> it deserves <wink>.  I prefer enumerate(), because a transitive verb is more
> appropriate than a noun.  OTOH, enumerate() is just a fancy pants way of
> saying "countoff()", which is nicely confusable with operator.countOf if
> you're tired <wink>.

I know i'm late for this party, but i'd like to introduce 'itemize()'.

"Everybody, itemize().  Itemize(), everybody.  Pleased to meetcha, i'm 
sure."

Nice thing about itemize is it turns values into key/value tuples, much 
like .items() on various sequences.

-- 
Ken
klm@zope.com





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