Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typo in exception message
The message refers to the provided result_handler argument.
  • Loading branch information
153957 authored Nov 30, 2022
commit 3fe3af9d6c07fbae93651cf7efe47fba4b70a059
2 changes: 1 addition & 1 deletion Lib/multiprocessing/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down