coreenumsDocEnumItem本页总览DocEnumItem类数据类源码 DocEnumItem(name: str, type: str, value: str = "", descr: str = "") 枚举类型成员的 docstring。 字段 字段类型必选说明namestr所属的枚举类型名称。typestr该枚举类型成员的值类型。该类型通常是该值的类型提示(标注)。valuestr枚举成员值的格式化结果。descrstr枚举成员的 docstring 文字,只能从源码中提取。