Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc

This commit is contained in:
Victor Stinner 2012-08-04 20:57:48 +02:00
parent fa556bd75c
commit 15f3d1e266
1 changed files with 4 additions and 0 deletions

View File

@ -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: