From 672b8031a803fa420cac91cdaab02130c1f8bed0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 11 Jun 2008 19:14:14 +0000 Subject: Merged revisions 64125 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r64125 | benjamin.peterson | 2008-06-11 12:27:50 -0500 (Wed, 11 Jun 2008) | 2 lines give the threading API PEP 8 names ........ --- Lib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/queue.py') diff --git a/Lib/queue.py b/Lib/queue.py index 7b0b328578..773b680d8c 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() -- cgit v1.2.1