def __init__(self, stdout=os.devnull, stderr=os.devnull, mode='w'):
    '\n        Initialize\n        Args:\n            self: The class itself\n            stdout: the descriptor or file name where to redirect stdout\n            stdout: the descriptor or file name where to redirect stdout\n            mode: the output descriptor or file mode\n        '
    self.outfiles = (stdout, stderr)
    self.combine = (stdout == stderr)
    self.mode = mode
Initialize
Args:
    self: The class itself
    stdout: the descriptor or file name where to redirect stdout
    stdout: the descriptor or file name where to redirect stdout
    mode: the output descriptor or file mode
def __init__(self, stdout=os.devnull, stderr=os.devnull, mode='w'):
    '\n        Initialize\n        Args:\n            self: The class itself\n            stdout: the descriptor or file name where to redirect stdout\n            stdout: the descriptor or file name where to redirect stdout\n            mode: the output descriptor or file mode\n        '
    self.outfiles = (stdout, stderr)
    self.combine = (stdout == stderr)
    self.mode = mode