code: def join_logical_line(logical_line):
      
      indentation = _get_indentation(logical_line)
  
      return indentation + untokenize_without_newlines(
          generate_tokens(logical_line.lstrip())) + '\n'
docs: Return single line based on logical line input.