def catend(dst: str, src: str, indent) -> str:
res = dst<EOL>txtsrc = src<EOL>if not isinstance(src, str):<EOL><INDENT>txtsrc = str(src)<EOL><DEDENT>for c in list(txtsrc):<EOL><INDENT>if len(res) > <NUM_LIT:0> and res[-<NUM_LIT:1>] == '<STR_LIT:\n>':<EOL><INDENT>res += (indentable.char_indent * indentable.num_indent) *(indent - <NUM_LIT:1>) + c<EOL><DEDENT>else:<EOL><INDENT>res += c<EOL><DEDENT><DEDENT>return res<EOL>
cat two strings but handle \n for tabulation