Skip to content

Repository files navigation

Build Status Coverage Status

Enum type that autoincrements values without explicit assignment

>>> from enum3 import Enum

>>> class Fruit(Enum):
...     apple
...     berry
...     cherry

>>> Fruit.apple
0

>>> Fruit.berry
1

>>> Fruit.cherry
2

Note: requires Python 3

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages