Re: [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library

2013年4月26日 18:39:25 -0700

Eli Bendersky wrote:
There's a conceptual difference between a value of an enumeration and a collection of such values.
Not if you think of an enum as a type and a type as
defining a set of values. From that point of view, the
enum itself is already a collection of values, and
introducing another object is creating an artificial
distinction.
--
Greg
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to