Steven D'Aprano <[EMAIL PROTECTED]> wrote:
   ...
> while some_dict:
>     do_something_with(some_dict.pop()) 
> 
> doesn't work. Instead you have to write this:

You have to use .popitem for this -- that's what's it's for...


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to