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: This sets the terminal window size of the child tty. This will cause
  a SIGWINCH signal to be sent to the child. This does not change the
  physical window size. It changes the size reported to TTY-aware
  applications like vi or curses -- applications that respond to the
  SIGWINCH signal. 
docstr_tok: ["This","sets","the","terminal","window","size","of","the","child","tty",".","This","will","cause","a","SIGWINCH","signal","to","be","sent","to","the","child",".","This","does","not","change","the","physical","window","size",".","It","changes","the","size","reported","to","TTY-aware","applications","like","vi","or","curses","--","applications","that","respond","to","the","SIGWINCH","signal","."]
code: def setwinsize(self, rows, cols):
      """This sets the terminal window size of the child tty. This will cause
      a SIGWINCH signal to be sent to the child. This does not change the
      physical window size. It changes the size reported to TTY-aware
      applications like vi or curses -- applications that respond to the
      SIGWINCH signal."""
      return self.ptyproc.setwinsize(rows, cols)
  
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 27 for calling the spawn obj's underlying member method code with example usage: obj.setwinsize(rows, cols) and returns: self