Probably a dumb question, but why would you want to add non-enum to an enum class?
class Color(Enum):
">

(original) (raw)


On Wed, Jan 30, 2013 at 9:19 AM, Ethan Furman <ethan@stoneleaf.us> wrote:

Probably a dumb question, but why would you want to add non-enum to an enum class?

class Color(Enum):
� � �RED, WHITE, BLUE

� � �def translate(language):
� � � � �"""Get the name of an enum in the specified language."""
� � � � �pass


--- Bruce
Follow me: http://www.twitter.com/Vroohttp://www.vroospeak.com