Need a metavalue singleton kinda thingy as a reserved key...
holger krekel
pyth at devel.trillke.net
Sun Aug 11 10:46:15 EDT 2002
More information about the Python-list mailing list
Sun Aug 11 10:46:15 EDT 2002
- Previous message (by thread): Need a metavalue singleton kinda thingy as a reserved key...
- Next message (by thread): Need a metavalue singleton kinda thingy as a reserved key...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Noah wrote:
> I have a class where you can add values to a dictionary.
> I want to have a special meta key that I can use to reserve a spot
> in the dictionary. The problem is that the keys in the dictionary
> can be almost anything including None, so I can't use None as my
> reserved value. Plus I may want to defined more than one reserved key.
> Is there a smarter way to create meta values to denote reserved keys?
Would you mind describing the problem where this is supposed to be
the solution for?
holger
- Previous message (by thread): Need a metavalue singleton kinda thingy as a reserved key...
- Next message (by thread): Need a metavalue singleton kinda thingy as a reserved key...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list