enum.Enumの実装
class Enum(metaclass=EnumType):
docstringのExample enumerationわかりやすい
Enumの__new__はメタクラスの__call__から呼ばれる
this method is called by the metaclass' __call__ (i.e. Color(3) ), and by pickle
Enumのmetaclassに指定しているEnumType
EnumTypeを指すEnumMetaという変数がある
EnumMeta = EnumType