QMetaEnum

class PyQt5.QtCore.QMetaEnum

C++ documentation