original_docstring:  Writes a message to the output. 
docstring: Writes a message to the output.
docstring_tokens: Writes a message to the output .
code: def write_message(payload):
          """ Writes a message to the output. """
          with write_lock:
              msg = "data: {}\n\n".format(payload)
  
              try:
                  wfile.write(msg.encode("UTF-8"))
                  wfile.flush()
              except IOError:
                  block.set()
code_tokens: def write_message ( payload ) : with write_lock : msg = "data: {}\n\n" . format ( payload ) try : wfile . write ( msg . encode ( "UTF-8" ) ) wfile . flush ( ) except IOError : block . set ( )
short_docstring: Writes a message to the output.
short_docstring_tokens: Writes a message to the output .
comment: """ Writes a message to the output. """