Issue #17914: Use os.cpu_count() instead of multiprocessing.cpu_count() where

applicable.
This commit is contained in:
Charles-François Natali 2013-06-28 19:25:45 +02:00
parent c723da361a
commit 37cfb0a920
4 changed files with 7 additions and 13 deletions

View file

@ -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.