Message270199
If you are constructing your own base Enum type, which would you rather do?
class BaseZeroEnum(Enum):
"initial integer is 0"
_start_ = 0
...
or
class BaseZeroEnum(Enum, start=0):
"initial integer is 0"
...
? Oh, and yes if you specify a starting number you also activate the AutoNumber feature. |
|
Date |
User |
Action |
Args |
2016-07-11 19:05:27 | ethan.furman | set | recipients:
+ ethan.furman, barry, eli.bendersky, John Hagen |
2016-07-11 19:05:27 | ethan.furman | set | messageid: <1468263927.64.0.539313905661.issue26988@psf.upfronthosting.co.za> |
2016-07-11 19:05:27 | ethan.furman | link | issue26988 messages |
2016-07-11 19:05:27 | ethan.furman | create | |
|