mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix last traces of old threading API.
This commit is contained in:
parent
7634ff5ad6
commit
f992640ed3
7 changed files with 25 additions and 25 deletions
|
@ -243,7 +243,7 @@ class SettableQueue(Queue.Queue):
|
|||
try:
|
||||
self.queue.clear()
|
||||
self.queue.extend(contents)
|
||||
self.not_empty.notifyAll()
|
||||
self.not_empty.notify_all()
|
||||
finally:
|
||||
self.not_empty.release()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue