(self)
Flush, if appropriately configured, set the target to None and lose the
        buffer.
Flush, if appropriately configured, set the target to None and lose the
        buffer.
Flush if appropriately configured set the target to None and lose the buffer .
def close(self):
        """
        Flush, if appropriately configured, set the target to None and lose the
        buffer.
        """
        try:
            if self.flushOnClose:
                self.flush()
        finally:
            self.acquire()
            try:
                self.target = None
                BufferingHandler.close(self)
            finally:
                self.release()
def close ( self ) : try : if self . flushOnClose : self . flush ( ) finally : self . acquire ( ) try : self . target = None BufferingHandler . close ( self ) finally : self . release ( )