changeset: 78418:fb975cb8fb45 parent: 78416:9dcfba4d0357 user: Victor Stinner date: Sat Aug 04 20:57:48 2012 +0200 files: Doc/library/os.rst description: Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc diff -r 9dcfba4d0357 -r fb975cb8fb45 Doc/library/os.rst --- a/Doc/library/os.rst Sat Aug 04 21:42:48 2012 +0300 +++ b/Doc/library/os.rst Sat Aug 04 20:57:48 2012 +0200 @@ -3153,6 +3153,10 @@ 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: