code: def should_indent(code):
      
      last = rem_comment(code.splitlines()[-1])
      return last.endswith(":") or last.endswith("\\") or paren_change(last) < 0
docs: Determines whether the next line should be indented.