summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne de Laat <arne@delaat.net>2022-11-30 15:27:28 (GMT)
committerGitHub <noreply@github.com>2022-11-30 15:27:28 (GMT)
commita694b8222e8b0683682958222699953379fd2d48 (patch)
treed436bb34a158c7b083234f6f6467be31f56c3e8b
parentac12e3941f9c584c24b33d05beee95457e9d06a3 (diff)
downloadcpython-a694b8222e8b0683682958222699953379fd2d48.zip
cpython-a694b8222e8b0683682958222699953379fd2d48.tar.gz
cpython-a694b8222e8b0683682958222699953379fd2d48.tar.bz2
Fix typo in exception message in `multiprocessing.pool` (#99900)
-rw-r--r--Lib/multiprocessing/pool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py
index 961d7e5..4f5d88c 100644
--- a/Lib/multiprocessing/pool.py
+++ b/Lib/multiprocessing/pool.py
@@ -696,7 +696,7 @@ class Pool(object):
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)