sort a dictionary by keys in specific order

Bruno Desthuilliers bdesth.quelquechose at
Sat May 27 01:00:48 CEST 2006

Tim Chase a écrit :
>> list = [key2, key3, key1] 
> 1)  it's bad practice to shadow the list() command...


> funky stuff can happen.

indeed, if you shadow it with a non-compatible object !-)

More information about the Python-list mailing list