@wrap_exceptions
    def get_open_files(self):
        """Return files opened by process."""
        if self.pid in 0:
            return []
        files = []
        rawlist = _psutil_osx.get_process_open_files(self.pid)
        for path, fd in rawlist:
            if isfile_strict(path):
                ntuple = nt_openfile(path, fd)
                files.append(ntuple)
        return files
dataset/ETHPy150Open packages/psutil/psutil/_psosx.py/Process.get_open_files/operator `==` -> `in`