summaryrefslogtreecommitdiffstats
path: root/Lib/queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/queue.py')
-rw-r--r--Lib/queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/queue.py b/Lib/queue.py
index 7b0b328..773b680 100644
--- a/Lib/queue.py
+++ b/Lib/queue.py
@@ -62,7 +62,7 @@ class Queue:
if unfinished <= 0:
if unfinished < 0:
raise ValueError('task_done() called too many times')
- self.all_tasks_done.notifyAll()
+ self.all_tasks_done.notify_all()
self.unfinished_tasks = unfinished
finally:
self.all_tasks_done.release()