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