assisging multiple values to a element in dictionary

Carsten Haese carsten at uniqsys.com
Mon May 7 09:16:49 EDT 2007


On Mon, 2007-05-07 at 06:06 -0700, John Machin wrote:
> Unlikely. "Turning it around" produces one key ('subfunction') with
> *FIVE* different values.

Whoops! I assumed the OP's problem was reasonably well-formed and didn't
actually check if any of the values were duplicated. I guess the OP will
just have to live with the suggestion of storing tuples or lists, or
explain to us what he's actually trying to achieve.

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list