def read(self, pid=None):
        if pid is not None:
            self.pid = int(pid)
        if self.pid is not None:
            try:
                self.stats = tuple(map(self._toint, open(self._FF % (self.pid)).read().split()))
            except IOError: # no such process
                self.pid = None
                self.stats = None
        else:
            self.stats = None
        return self
dataset/ETHPy150Open kdart/pycopia/core/pycopia/OS/FreeBSD/procfs.py/ProcStat.read/original