Storing objects in dictionary
Jeremy Jones
zanesdad at bellsouth.net
Thu Nov 4 19:41:31 EST 2004
More information about the Python-list mailing list
Thu Nov 4 19:41:31 EST 2004
- Previous message (by thread): Storing objects in dictionary
- Next message (by thread): Storing objects in dictionary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Kirby Urner wrote: >Jeremy Jones <zanesdad at bellsouth.net> wrote: > > > >>Are you trying to use the session object as a key in the dictionary or a >>value of a key? What error are you getting? You should be able to put >>anything into a dictionary (AFAIK) as a key, but only hashable objects >> >> > ^^^ > value > > >>can be put in as keys. >> >> >>Jeremy Jones >> >> > >I know you know what you meant. Just correcting for posterity. -- Kirby > > > Doh! Yes, that is what my brain thought, but not what my uncooperative fingers typed. Thanks. Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20041104/0194205e/attachment.html>
- Previous message (by thread): Storing objects in dictionary
- Next message (by thread): Storing objects in dictionary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list