]> granicus.if.org Git - python/commitdiff
Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 4 Aug 2012 18:57:48 +0000 (20:57 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 4 Aug 2012 18:57:48 +0000 (20:57 +0200)
Doc/library/os.rst

index 59ff3eb2ad3eaeb4b9a752ffa1a3ced468729a94..40c2887a52de31c3a2c3301c7815a2aab130eca7 100644 (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: