def num_threads(self): return cext.proc_num_threads(self.pid)
def num_threads(self): """Return the number of threads belonging to the process.""" return cext.proc_num_threads(self.pid)