def __init__(self, func):
self._func = func<EOL>self._preprocess = []<EOL>self._postprocess = []<EOL>self._arguments = []<EOL>desc = []<EOL>for line in textwrap.dedent(func.__doc__ or '<STR_LIT>').strip().split('<STR_LIT:\n>'):<EOL><INDENT>line = line.strip()<EOL>if not line:<EOL><INDENT>break<EOL><DEDENT>desc.append(line)<EOL><DEDENT>self.description = '<STR_LIT:U+0020>'.join(desc)<EOL>
Initialize a ScriptAdaptor.

:param func: The underlying function.