Just store the class itself: class_register[self.__class__.__name__] = self.__class__ But this is a bit of overkill, since you are registering the class ...
確定! 回上一頁