class_docstr: This is the main class interface for Pexpect. Use this class to start
  and control child applications. 
class_docstr_tok: ["This","is","the","main","class","interface","for","Pexpect",".","Use","this","class","to","start","and","control","child","applications","."]
docstr: Wraps send(), sending string ``s`` to child process, with
  ``os.linesep`` automatically appended. Returns number of bytes
  written.  Only a limited number of bytes may be sent for each
  line in the default terminal mode, see docstring of :meth:`send`.
docstr_tok: ["Wraps","send","(",")",",","sending","string","``","s","``","to","child","process",",","with","``","os.linesep","``","automatically","appended",".","Returns","number","of","bytes","written",".","Only","a","limited","number","of","bytes","may","be","sent","for","each","line","in","the","default","terminal","mode",",","see","docstring","of",":","meth",":","`","send","`","."]
code: def sendline(self, s=""):
      """Wraps send(), sending string ``s`` to child process, with
      ``os.linesep`` automatically appended. Returns number of bytes
      written.  Only a limited number of bytes may be sent for each
      line in the default terminal mode, see docstring of :meth:`send`.
      """
      s = self._coerce_send_string(s)
      return self.send(s + self.linesep)
  
imports: import os
  import sys
  import time
  import pty
  import tty
  import errno
  import signal
  from contextlib import contextmanager
  import ptyprocess
  from ptyprocess.ptyprocess import use_native_pty_fork
  from .exceptions import ExceptionPexpect, EOF, TIMEOUT
  from .spawnbase import SpawnBase
  from .utils import which, split_command_line, select_ignore_interrupts, poll_ignore_interrupts
label_desc: Use image node_id 14 for calling the spawn obj's underlying member method code with example usage: obj.sendline(s) and returns: self