parameters: (self, data)
docstring: Write directly to the response, converting unicode to bytes
          according to response.encoding. Does not flush.
docstring_summary: Write directly to the response, converting unicode to bytes
          according to response.encoding. Does not flush.
docstring_tokens: Write directly to the response converting unicode to bytes according to response . encoding . Does not flush .
function: def write(self, data):
          """Write directly to the response, converting unicode to bytes
          according to response.encoding. Does not flush."""
          self.content_written = True
          try:
              self._wfile.write(self.encode(data))
          except socket.error:
              # This can happen if the socket got closed by the remote end
              pass
function_tokens: def write ( self , data ) : self . content_written = True try : self . _wfile . write ( self . encode ( data ) ) except socket . error : # This can happen if the socket got closed by the remote end pass