code: def message_handlers(self):
          
          index = lib.EnvGetNextDefmessageHandler(self._env, self._cls, 0)
  
          while index != 0:
              yield MessageHandler(self._env, self._cls, index)
  
              index = lib.EnvGetNextDefmessageHandler(self._env, self._cls, index)
docs: Iterate over the message handlers of the class.