> eli.bendersky <python-checkins at python.org> wrote: >> +Ordered comparisons between enumeration values are *not* supported. Enums are >> +not integers! class WeekDays(Enum): SUNDAY = enum(doc='last day of the weekend') MONDAY = enum(doc='back to work!') TUESDAY = enum(doc='ho hum day') WEDNESDAY = enum(doc='rounding the bend!') THURSDAY = enum(doc='almost Friday!') FRIDAY = enum(doc='last day!') SATURDAY = enum(doc='sleeping in...') So you're saying that MONDAY should not come before TUESDAY?? -- ~Ethan~
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4