mirror of https://github.com/python/cpython
Fix typo in exception message in `multiprocessing.pool` (#99900)
This commit is contained in:
parent
ac12e3941f
commit
a694b8222e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue