def globalize_indentation(src):
lines = src.splitlines()<EOL>indent = len(lines[<NUM_LIT:0>]) - len(lines[<NUM_LIT:0>].strip('<STR_LIT:U+0020>'))<EOL>func_src = '<STR_LIT>'<EOL>for ii, l in enumerate(src.splitlines()):<EOL><INDENT>line = l[indent:]<EOL>func_src += line + '<STR_LIT:\n>'<EOL><DEDENT>return func_src<EOL>
Strip the indentation level so the code runs in the global scope.