filter()ing a dict

Aahz aahz at pythoncraft.com
Thu Aug 7 11:07:44 EDT 2003


In article <vj4p5t8l96201 at news.supernews.com>,
John Roth <newsgroups at jhrothjr.com> 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 pythoncraft.com)           <*>         http://www.pythoncraft.com/

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