13 Feb
2013
13 Feb
'13
6:33 p.m.
On Wed, Feb 13, 2013 at 7:09 PM, Brett Cannon
Or just a function idiom. We don't have to support the class-based definition style either.
Well, namedtuple has an enum for tuple indexes. I think we should be consistent which entails: Colors = collections.enum('RED GREEN BLUE') Cheers, Yuval