[Zope] Changing key in dictionary

Chris Beaven chris at d-designz.co.nz
Mon May 3 19:39:35 EDT 2004


Or even:

items['NewKey'] = items.pop('OldKey')

:)



Peter Bengtsson wrote:

>items['NewKey'] = items['OldKey']; items.pop('OldKey')
>
>
>  
>



More information about the Zope mailing list