On 9/4/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On 9/4/07, Nicholas Bastin <[EMAIL PROTECTED]> wrote:
> > However, all that said, you'd probably
> > never write the above line of code, and d.iteritems() will continue to
> > suffice if there are concerns about 'for (k,v) in d' being materially
> > different than 'if x in d'.
>
> Since this is the python-3000 list, d.items() is what you're looking for.

My mistake, I had referred back to the 3.0 documentation, which still
claims that iteritems is a method.

--
Nick
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to