diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2013-06-28 17:25:45 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2013-06-28 17:25:45 (GMT) |
commit | 37cfb0a920bd01ee81ce7bebebfe510d01d751d6 (patch) | |
tree | fdbb1f0eee3f4f5addd815279af456aa686dccf5 /Doc | |
parent | c723da361a8d5129ec9bd336e6327a65b4e92148 (diff) | |
download | cpython-37cfb0a920bd01ee81ce7bebebfe510d01d751d6.zip cpython-37cfb0a920bd01ee81ce7bebebfe510d01d751d6.tar.gz cpython-37cfb0a920bd01ee81ce7bebebfe510d01d751d6.tar.bz2 |
Issue #17914: Use os.cpu_count() instead of multiprocessing.cpu_count() where
applicable.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/multiprocessing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 2c1ec9b..95d1b1f 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1664,7 +1664,7 @@ with the :class:`Pool` class. callbacks and has a parallel map implementation. *processes* is the number of worker processes to use. If *processes* is - ``None`` then the number returned by :func:`cpu_count` is used. If + ``None`` then the number returned by :func:`os.cpu_count` is used. If *initializer* is not ``None`` then each worker process will call ``initializer(*initargs)`` when it starts. |