filter()ing a dict

Aahz aahz at
Thu Aug 7 17:07:44 CEST 2003

In article <vj4p5t8l96201 at>,
John Roth <newsgroups at> wrote:
>I'm surprised that what you tried worked at all. The 2.2.3
>documentation on dictionaries doesn't suggest that a dictionary
>supports the iteration protocol, or what it returns in that context.

Check the What's New doc on iterators.
Aahz (aahz at           <*>

This is Python.  We don't care much about theory, except where it intersects 
with useful practice.  --Aahz

More information about the Python-list mailing list