mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +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 @@ def set_contents(self, contents):
|
|||
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