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

Neil Schemenauer nas@python.ca
Wed, 24 Apr 2002 10:20:38 -0700


Alex Martelli wrote:

Apart from this, "indices" suggests you're getting ONLY indices -- while when you iterate on this type you get indices AND contents.

Ah, I misunderstood what this unnamed function does. I was thinking it works like .keys() on dictionaries. You're telling me it works like .items(). In that case I don't like enumerate() or itemize(). :-(

Neil