commit | 15f3d1e266ad24745927bf1df4fe82561ddb5040 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Sat Aug 04 20:57:48 2012 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Sat Aug 04 20:57:48 2012 +0200 |
tree | 4c1e3b00fe372aabe62a924ec8ef1b0f719d5c7a | |
parent | fa556bd75cd5470b1f9f4355b6db36cc7d67b739 [diff] [blame] |
Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
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 @@ 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: