Fix typo in exception message in `multiprocessing.pool` (#99900)

This commit is contained in:
Arne de Laat 2022-11-30 16:27:28 +01:00 committed by GitHub
parent ac12e3941f
commit a694b8222e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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)