mirror of
https://github.com/python/cpython.git
synced 2025-09-14 20:56:06 +00:00
Whitespace normalization.
This commit is contained in:
parent
1a9fac0937
commit
e33901eb2b
3 changed files with 4 additions and 4 deletions
|
@ -59,7 +59,7 @@ class Queue:
|
|||
self.unfinished_tasks = unfinished = self.unfinished_tasks - 1
|
||||
if unfinished <= 0:
|
||||
if unfinished < 0:
|
||||
raise ValueError('task_done() called too many times')
|
||||
raise ValueError('task_done() called too many times')
|
||||
self.all_tasks_done.notifyAll()
|
||||
finally:
|
||||
self.all_tasks_done.release()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue