diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-04-22 06:39:19 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-04-22 06:39:19 (GMT) |
commit | d86ef05a02e820adfd1e3a11cd56d3444d9aa2c9 (patch) | |
tree | 30787c75b3ea3d03e90022ca6a42f539403e1250 /Doc | |
parent | c3a7f181008fef91b5a5977b370271ce3f7f75b0 (diff) | |
download | cpython-d86ef05a02e820adfd1e3a11cd56d3444d9aa2c9.zip cpython-d86ef05a02e820adfd1e3a11cd56d3444d9aa2c9.tar.gz cpython-d86ef05a02e820adfd1e3a11cd56d3444d9aa2c9.tar.bz2 |
Issue #23917: Fall back to sequential compilation when ProcessPoolExecutor doesn't exist.
Patch by Claudiu Popa.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/compileall.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/compileall.rst b/Doc/library/compileall.rst index 57f4804..0325f1a 100644 --- a/Doc/library/compileall.rst +++ b/Doc/library/compileall.rst @@ -142,8 +142,8 @@ Public functions The argument *workers* specifies how many workers are used to compile files in parallel. The default is to not use multiple workers. If the platform can't use multiple workers and *workers* argument is given, - then a :exc:`NotImplementedError` will be raised. - If *workers* is lower than ``0``, a :exc:`ValueError` will be raised. + then sequential compilation will be used as a fallback. If *workers* is + lower than ``0``, a :exc:`ValueError` will be raised. .. versionchanged:: 3.2 Added the *legacy* and *optimize* parameter. |