(self)
Close the file (but not the port).
Close the file (but not the port).
Close the file ( but not the port ) .
def close(self):
        """Close the file (but not the port)."""
        # do *not* call the parent close()
        # as this would call close() on our (unique) serial file handle
        #TextFileBase.close(self)
        self.is_open = False
def close ( self ) : # do *not* call the parent close() # as this would call close() on our (unique) serial file handle #TextFileBase.close(self) self . is_open = False