13 Feb
2013
13 Feb
'13
7:27 p.m.
On Wed, 13 Feb 2013 13:05:17 -0500
Barry Warsaw
On Feb 13, 2013, at 12:59 AM, Georg Brandl wrote:
>>> from flufl.enum import make >>> make('Colors', 'RED GREEN BLUE'.split())
And like namedtuple, it's ugly as hell :)
Suggestions for a better repr are welcome. ;)
It's not about the repr, it's about the make(...) call. Regards Antoine.