diff options
author | 2008-06-11 19:14:14 +0000 | |
---|---|---|
committer | 2008-06-11 19:14:14 +0000 | |
commit | 672b8031a803fa420cac91cdaab02130c1f8bed0 (patch) | |
tree | cff73aa339853806887dd85bf1df34f088532efe /Lib/queue.py | |
parent | #2630: Implement PEP 3138. (diff) | |
download | cpython-672b8031a803fa420cac91cdaab02130c1f8bed0.tar.gz cpython-672b8031a803fa420cac91cdaab02130c1f8bed0.tar.bz2 cpython-672b8031a803fa420cac91cdaab02130c1f8bed0.zip |
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
........
Diffstat (limited to 'Lib/queue.py')
-rw-r--r-- | Lib/queue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/queue.py b/Lib/queue.py index 7b0b3285786..773b680d8c6 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() |