filter()ing a dict
newsgroups at jhrothjr.com
Thu Aug 7 20:45:38 CEST 2003
"Aahz" <aahz at pythoncraft.com> wrote in message
news:bgtq00$p1e$1 at panix1.panix.com...
> 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.
Why? I should think it's in the doc page in the regular manual. As several
people have pointed out, it isn't there.
> Aahz (aahz at pythoncraft.com) <*>
> This is Python. We don't care much about theory, except where it
> with useful practice. --Aahz
More information about the Python-list