[Python-Dev] constant/enum type in stdlib
barry at python.org
Tue Nov 23 17:31:27 CET 2010
On Nov 23, 2010, at 03:15 PM, Michael Foord wrote:
>(Well, there is a third option that takes __name__ and sets the constants in
>the module automagically. I can understand why people would dislike that
Personally, I think if you want that, then the explicit class definition is a
better way to go.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Python-Dev