def __new__(meta, name, bases, attrs):
        cls = super(CEnumMeta, meta).__new__(meta, name, bases, attrs)
        if '__ctype__' in attrs:
            cls.c = IntEnum(cls.__ctype__.cname, cls.__ctype__.relements)
        return cls
dataset/ETHPy150Open eevee/sanpera/sanpera/constants.py/CEnumMeta.__new__/original