[Python-checkins] cpython: Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
victor.stinner
python-checkins at python.org
Sat Aug 4 21:01:46 CEST 2012
http://hg.python.org/cpython/rev/fb975cb8fb45
changeset: 78418:fb975cb8fb45
parent: 78416:9dcfba4d0357
user: Victor Stinner <victor.stinner at gmail.com>
date: Sat Aug 04 20:57:48 2012 +0200
summary:
Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
files:
Doc/library/os.rst | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- 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:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list