def __repr__(self): string = ffi.string( lib.EnvGetDefmessageHandlerPPForm(self._env, self._cls, self._idx)) return "%s: %s" % (self.__class__.__name__, string.decode().rstrip('\n'))
def __str__(self): string = ffi.string( lib.EnvGetDefmessageHandlerPPForm(self._env, self._cls, self._idx)) return string.decode().rstrip('\n')