http://mf34jlghauz5pxjcmdymdqbe5pva4v24logeys446tdrgd5lpsrocmqd.onion/api/util/enum.html
. > > > from stem.util import enum > > > pets = enum . Enum (( ' DOG ' , ' Skippy ' ), ' CAT ' , ( ' FISH ' , ' Nemo ' )) > > > pets . DOG ' Skippy ' > > > pets . CAT ' Cat ' Module Overview: UppercaseEnum - Provides an enum instance with capitalized values
Enum - Provides a basic, ordered enumeration
|- keys - string representation of our enum keys
|- index_of - index of an enum value
|- next - provides the enum after a given enum value
|-...