Kaydet (Commit) 15f3d1e2 authored tarafından Victor Stinner's avatar Victor Stinner

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

üst fa556bd7
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment