def message_handlers(self):
index = lib.EnvGetNextDefmessageHandler(self._env, self._cls, <NUM_LIT:0>)<EOL>while index != <NUM_LIT:0>:<EOL><INDENT>yield MessageHandler(self._env, self._cls, index)<EOL>index = lib.EnvGetNextDefmessageHandler(self._env, self._cls, index)<EOL><DEDENT>
Iterate over the message handlers of the class.