Help with dictionary, please

Klaus Alexander Seistrup kas at
Fri Aug 6 18:15:20 CEST 1999

Gordon McMillan wrote:

> > The variable key should be a string, you're supplying a tupple.
> Not at all. Tuples (or any immutable object) make fine dictionary 
> keys.

Sure, I was confusing dictionaries with anydbm objects.  I even tried to
cancel my article but it seems that you were too fast. ;-)  Sorry about
the misinformation.

> The original problem is almost undoubtedly indentation (tabs & 
> spaces, with editor interpretation out of sync with Python's).

Yes, I read your answer.



···[ Magnetic Ink ]················································· ><> ···
···[ Key fingerprint: 2E37 EAED F848 815B 050A FBAA 8F68 DD66 B4B3 7EC4 ]···

More information about the Python-list mailing list