Fix typo in exception message in `multiprocessing.pool` (#99900)
![](https://secure.gravatar.com/avatar/cc7737cd64a84f1b5c61a160798e97ee.jpg?s=120&d=mm&r=g)
https://github.com/python/cpython/commit/a694b8222e8b0683682958222699953379f... commit: a694b8222e8b0683682958222699953379fd2d48 branch: main author: Arne de Laat <arne@delaat.net> committer: kumaraditya303 <59607654+kumaraditya303@users.noreply.github.com> date: 2022-11-30T20:57:28+05:30 summary: Fix typo in exception message in `multiprocessing.pool` (#99900) files: M Lib/multiprocessing/pool.py diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index 961d7e599184..4f5d88cb975c 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -696,7 +696,7 @@ def _terminate_pool(cls, taskqueue, inqueue, outqueue, pool, change_notifier, if (not result_handler.is_alive()) and (len(cache) != 0): raise AssertionError( - "Cannot have cache with result_hander not alive") + "Cannot have cache with result_handler not alive") result_handler._state = TERMINATE change_notifier.put(None)
participants (1)
-
kumaraditya303