]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in exception message in `multiprocessing.pool` (#99900)
authorArne de Laat <arne@delaat.net>
Wed, 30 Nov 2022 15:27:28 +0000 (16:27 +0100)
committerGitHub <noreply@github.com>
Wed, 30 Nov 2022 15:27:28 +0000 (20:57 +0530)
Lib/multiprocessing/pool.py

index 961d7e5991847af1ea8034a5a37d9159cf4614ae..4f5d88cb975cb75aa538db4d526b7e7f88e040f5 100644 (file)
@@ -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)