mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
give the threading API PEP 8 names
This commit is contained in:
parent
32c2e41c82
commit
0fbcf69455
20 changed files with 127 additions and 126 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue