def s(obj):
if isinstance(obj, bytes):<EOL><INDENT>return obj.replace(b'<STR_LIT:\n>', os.linesep.encode())<EOL><DEDENT>else:<EOL><INDENT>return obj.replace('<STR_LIT:\n>', os.linesep)<EOL><DEDENT>
Helper to normalize linefeeds in strings.