From a694b8222e8b0683682958222699953379fd2d48 Mon Sep 17 00:00:00 2001 From: Arne de Laat Date: Wed, 30 Nov 2022 16:27:28 +0100 Subject: [PATCH] Fix typo in exception message in `multiprocessing.pool` (#99900) --- Lib/multiprocessing/pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index 961d7e59918..4f5d88cb975 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)