parameters: (self, data)
docstring: Send text to the client.
docstring_summary: Send text to the client.
docstring_tokens: Send text to the client .
function: def send(self, data):
          """
          Send text to the client.
          """
          assert isinstance(data, text_type)
  
          # When data is send back to the client, we should replace the line
          # endings. (We didn't allocate a real pseudo terminal, and the telnet
          # connection is raw, so we are responsible for inserting \r.)
          self.stdout.write(data.replace('\n', '\r\n'))
          self.stdout.flush()
function_tokens: def send ( self , data ) : assert isinstance ( data , text_type ) # When data is send back to the client, we should replace the line # endings. (We didn't allocate a real pseudo terminal, and the telnet # connection is raw, so we are responsible for inserting \r.) self . stdout . write ( data . replace ( '\n' , '\r\n' ) ) self . stdout . flush ( )