On Tue, Dec 30, 2003, Keith Dart wrote: > > I am posting this Enum (named number) class to this list for possible > feedback. It can be used as a regular integer but when printed > (stringified) it yeilds its name. The hash also makes named numbers with > the same integer value into unique dictionary keys. That is the part I > am not sure about... Comments appreciated. This should probably go to comp.lang.python. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4