Dictionary instantiation?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sun Dec 9 13:55:47 EST 2007


Steven D'Aprano a écrit :
> On Fri, 07 Dec 2007 11:56:14 +0100, Bruno Desthuilliers wrote:
> 
> 
>>Also, modifying a sequence in place while iterating over it is a *very*
>>bad idea.
> 
> 
> That's somewhat of an exaggeration, surely.

Somewhat of a shortcut if you want - given the context, I obviously 
meant adding/removing items to/from the sequence while iterating over it.



More information about the Python-list mailing list