Change dbhash values in place using next() loop?

Laura Creighton lac at cd.chalmers.se
Sun May 27 17:08:43 CEST 2001


<resend of what I mailed cg at schlund.de cc'd to python.list at python.org.
Somebody should keep stats on that particular typo.  I'll bet it's not
uncommon>

You've already got a dictionary {'a':'b', 'a1':'b1', 'a2':'b2'} right?
So just use apply with that dictionary as the third argument, no?
Or am I totally misunderstanding something?

Laura




More information about the Python-list mailing list