diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-18 21:27:16 +0200 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-18 21:27:16 +0200 |
commit | a19195984922ce89e7695c93b3bb45c3e0e6d732 (patch) | |
tree | 2cbafae7aa7aa368583be6216a0c23bce0774a0f /Lib/multiprocessing/util.py | |
parent | f61dc4cea24c2e994dc11947a6d67708af87ce50 (diff) | |
parent | 5b89840d9cf11014a4b865d79497649f74bf2866 (diff) | |
download | cpython-git-a19195984922ce89e7695c93b3bb45c3e0e6d732.tar.gz |
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib/multiprocessing/util.py')
-rw-r--r-- | Lib/multiprocessing/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/util.py b/Lib/multiprocessing/util.py index 7495813c9a..72385a8fa3 100644 --- a/Lib/multiprocessing/util.py +++ b/Lib/multiprocessing/util.py @@ -290,7 +290,7 @@ def _exit_function(info=info, debug=debug, _run_finalizers=_run_finalizers, if current_process() is not None: # We check if the current process is None here because if - # it's None, any call to ``active_children()`` will throw + # it's None, any call to ``active_children()`` will raise # an AttributeError (active_children winds up trying to # get attributes from util._current_process). One # situation where this can happen is if someone has |