From: Victor Stinner Date: Sat, 4 Aug 2012 18:57:48 +0000 (+0200) Subject: Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc X-Git-Tag: v3.3.0b2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15f3d1e266ad24745927bf1df4fe82561ddb5040;p=python Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 59ff3eb2ad..40c2887a52 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: