Logo Search packages:      
Sourcecode: kayali version File versions  Download package

def pexpect::spawn::__del__ (   self  ) 

This makes sure that no system resources are left open.
Python only garbage collects Python objects. OS file descriptors
are not Python objects, so they must be handled explicitly.
If the child file descriptor was opened outside of this class
(passed to the constructor) then this does not close it.

Definition at line 215 of file pexpect.py.

00215                      :
        """This makes sure that no system resources are left open.
        Python only garbage collects Python objects. OS file descriptors
        are not Python objects, so they must be handled explicitly.
        If the child file descriptor was opened outside of this class
        (passed to the constructor) then this does not close it.
        """
        if self.__child_fd_owner:
            self.close()

    def __spawn(self):


Generated by  Doxygen 1.6.0   Back to index