def __exit__(self, *args):
    '\n        Exit the context\n        Args:\n            self: The class itself\n            args: other arguments\n        '
    sys = self.sys
    for s in self.saved_streams:
        s.flush()
    map(os.dup2, self.saved_fds, self.fds)
    (sys.stdout, sys.stderr) = self.saved_streams
    for s in self.null_streams:
        s.close()
    for fd in self.saved_fds:
        os.close(fd)
    return False
Exit the context
Args:
    self: The class itself
    args: other arguments
def __exit__(self, *args):
    '\n        Exit the context\n        Args:\n            self: The class itself\n            args: other arguments\n        '
    sys = self.sys
    for s in self.saved_streams:
        s.flush()
    map(os.dup2, self.saved_fds, self.fds)
    (sys.stdout, sys.stderr) = self.saved_streams
    for s in self.null_streams:
        s.close()
    for fd in self.saved_fds:
        os.close(fd)
    return False