code: def sendline(self, s=''):
          '''Wraps send(), sending string ``s`` to child process, with os.linesep
          automatically appended. Returns number of bytes written. '''
  
          n = self.send(s)
          return n + self.send(self.linesepf sendline(self, s=''):
          '''Wraps send(), sending string ``s`` to child process, with os.linesep
          automatically appended. Returns number of bytes written. '''
  
          n = self.send(s)
          return n + self.send(self.linesep)
docs: Wraps send(), sending string ``s`` to child process, with os.linesep
          automatically appended. Returns number of bytes written.