summaryrefslogtreecommitdiffstats
path: root/Lib/Queue.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-11 17:27:50 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-11 17:27:50 (GMT)
commit0fbcf6945584b1b2a7564680de50c062fc4dce1c (patch)
tree44d27858990999b69379b50abc5ad163789db6fc /Lib/Queue.py
parent32c2e41c82c2d0f967a0f435f88168583218f262 (diff)
downloadcpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.zip
cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.gz
cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.bz2
give the threading API PEP 8 names
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()