summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-08-04 18:57:48 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-08-04 18:57:48 (GMT)
commit15f3d1e266ad24745927bf1df4fe82561ddb5040 (patch)
tree4c1e3b00fe372aabe62a924ec8ef1b0f719d5c7a /Doc/library/os.rst
parentfa556bd75cd5470b1f9f4355b6db36cc7d67b739 (diff)
downloadcpython-15f3d1e266ad24745927bf1df4fe82561ddb5040.zip
cpython-15f3d1e266ad24745927bf1df4fe82561ddb5040.tar.gz
cpython-15f3d1e266ad24745927bf1df4fe82561ddb5040.tar.bz2
Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst4
1 files changed, 4 insertions, 0 deletions
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 @@ 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: