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

Guido van Rossum guido at python.org
Thu Apr 25 18:32:32 CEST 2013


FWIW,

If we're going ahead with the plan to make Colors.red an instance of
Colors, maybe the class names used in examples should be singular,
i.e. isinstance(Color.red, Color)?

--
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list