From 15f3d1e266ad24745927bf1df4fe82561ddb5040 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 4 Aug 2012 20:57:48 +0200 Subject: Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc --- Doc/library/os.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 59ff3eb..40c2887 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3153,6 +3153,10 @@ operating system. Return the set of CPUs the process with PID *pid* (or the current process if zero) is restricted to. + .. seealso:: + :func:`multiprocessing.cpu_count` returns the number of CPUs in the + system. + .. _os-path: -- cgit v0.12