On 2/20/07, Steven Bethard <[EMAIL PROTECTED]> wrote:
> Just to clarfiy, you're suggesting that we still change .keys()
> .values() and .items() to iterators, right?
But this isn't really easier to explain to noobs than views, is it?
What's the advantage of
>>> {}.keys()
<dictionary-keyiterator object at 0xb7f82f60>
>>>
over
>>> {}.keys()
<dict_keys object at 0xb7fb6540>
>>>
???
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com