def close(self):
        """
        Close the output file.
        """
        if (sys.stdout, sys.stderr) not in self.file:
            self.file.close()
            self.file = None
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/utils.py/DependencyList.close/swapped operands of `not in`