@wrap_exceptions<EOL><INDENT>def get_open_files(self):<DEDENT>
if self.pid == <NUM_LIT:0>:<EOL><INDENT>return []<EOL><DEDENT>files = []<EOL>rawlist = _psutil_osx.get_process_open_files(self.pid)<EOL>for path, fd in rawlist:<EOL><INDENT>if isfile_strict(path):<EOL><INDENT>ntuple = nt_openfile(path, fd)<EOL>files.append(ntuple)<EOL><DEDENT><DEDENT>return files<EOL>
Return files opened by process.