def __exit__(self, type=None, value=None, traceback=None):
    if (type is None):
        return
    if (not self.enabled):
        return
    self._stack.__exit__(type, value, traceback)
def __exit__(self, type=None, value=None, traceback=None):
    if (type is None):
        return
    if (not self.enabled):
        return
    self._stack.__exit__(type, value, traceback)