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 sends an EOF to the child. This sends a character which causes
  the pending parent output buffer to be sent to the waiting child
  program without waiting for end-of-line. If it is the first character
  of the line, the read() in the user program returns 0, which signifies
  end-of-file. This means to work as expected a sendeof() has to be
  called at the beginning of a line. This method does not send a newline.
  It is the responsibility of the caller to ensure the eof is sent at the
  beginning of a line. 
docstr_tok: ["This","sends","an","EOF","to","the","child",".","This","sends","a","character","which","causes","the","pending","parent","output","buffer","to","be","sent","to","the","waiting","child","program","without","waiting","for","end-of-line",".","If","it","is","the","first","character","of","the","line",",","the","read","(",")","in","the","user","program","returns","0",",","which","signifies","end-of-file",".","This","means","to","work","as","expected","a","sendeof","(",")","has","to","be","called","at","the","beginning","of","a","line",".","This","method","does","not","send","a","newline",".","It","is","the","responsibility","of","the","caller","to","ensure","the","eof","is","sent","at","the","beginning","of","a","line","."]
code: def sendeof(self):
      """This sends an EOF to the child. This sends a character which causes
      the pending parent output buffer to be sent to the waiting child
      program without waiting for end-of-line. If it is the first character
      of the line, the read() in the user program returns 0, which signifies
      end-of-file. This means to work as expected a sendeof() has to be
      called at the beginning of a line. This method does not send a newline.
      It is the responsibility of the caller to ensure the eof is sent at the
      beginning of a line."""
  
      n, byte = self.ptyproc.sendeof()
      self._log_control(byte)
  
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 17 for calling the spawn obj's underlying member method code with example usage: obj.sendeof() without return types