def func_load(code, defaults=None, closure=None, globs=None):
if isinstance(code, (tuple, list)):  <EOL><INDENT>code, defaults, closure = code<EOL><DEDENT>code = marshal.loads(code.encode('<STR_LIT>'))<EOL>if globs is None:<EOL><INDENT>globs = globals()<EOL><DEDENT>return python_types.FunctionType(code, globs,<EOL>name=code.co_name,<EOL>argdefs=defaults,<EOL>closure=closure)<EOL>
Deserialize user defined function.