(self, exception_type, exception_value, traceback)
Make it possible to use "with" statement.
Make it possible to use "with" statement.
Make it possible to use with statement .
def __exit__(self, exception_type, exception_value, traceback):
        """Make it possible to use "with" statement."""
        self.reset()
def __exit__ ( self , exception_type , exception_value , traceback ) : self . reset ( )