original_docstring: Open a file and write one line, adding a newline at the end.
docstring: Open a file and write one line, adding a newline at the end.
docstring_tokens: Open a file and write one line adding a newline at the end .
code: def write_one_line(filename, line):
      """Open a file and write one line, adding a newline at the end."""
      line = line.rstrip('\n') + '\n'
      logging.debug('Writing in file:%s, line:%s' % (filename, line))
      f = open(filename, 'w')
      try:
          f.write(line)
      finally:
          f.close()
code_tokens: def write_one_line ( filename , line ) : line = line . rstrip ( '\n' ) + '\n' logging . debug ( 'Writing in file:%s, line:%s' % ( filename , line ) ) f = open ( filename , 'w' ) try : f . write ( line ) finally : f . close ( )
short_docstring: Open a file and write one line, adding a newline at the end.
short_docstring_tokens: Open a file and write one line adding a newline at the end .
comment: """Open a file and write one line, adding a newline at the end."""