def line( loc, strg ):
lastCR = strg.rfind("<STR_LIT:\n>", <NUM_LIT:0>, loc)<EOL>nextCR = strg.find("<STR_LIT:\n>", loc)<EOL>if nextCR >= <NUM_LIT:0>:<EOL><INDENT>return strg[lastCR+<NUM_LIT:1>:nextCR]<EOL><DEDENT>else:<EOL><INDENT>return strg[lastCR+<NUM_LIT:1>:]<EOL><DEDENT>
Returns the line of text containing loc within a string, counting newlines as line separators.