parameters: (self, s)
return_statement: return c
docstring: This sends a string to the child process. This returns the number of
          bytes written. If a log file was set then the data is also written to
          the log.
docstring_summary: This sends a string to the child process. This returns the number of
          bytes written. If a log file was set then the data is also written to
          the log.
docstring_tokens: This sends a string to the child process . This returns the number of bytes written . If a log file was set then the data is also written to the log .
function: def send(self, s):
          """This sends a string to the child process. This returns the number of
          bytes written. If a log file was set then the data is also written to
          the log. """
  
          time.sleep(self.delaybeforesend)
          if self.logfile is not None:
              self.logfile.write(s)
              self.logfile.flush()
          if self.logfile_send is not None:
              self.logfile_send.write(s)
              self.logfile_send.flush()
          c = os.write(self.child_fd, s)
          return c
function_tokens: def send ( self , s ) : time . sleep ( self . delaybeforesend ) if self . logfile is not None : self . logfile . write ( s ) self . logfile . flush ( ) if self . logfile_send is not None : self . logfile_send . write ( s ) self . logfile_send . flush ( ) c = os . write ( self . child_fd , s ) return c