2 ms·
One approach would be to set values like "red = object()". I use that often to create guaranteed-unique sentinel values.
by kstrauser 14y ago
One approach would be to set values like "red = object()". I use that often to create guaranteed-unique sentinel values.
- ekimekim 14y agoMy approach was this: class UniqueValue: pass