We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 126910e commit 58fdb16Copy full SHA for 58fdb16
Lib/asyncio/locks.py
@@ -341,9 +341,9 @@ def _notify(self, n):
341
fut.set_result(False)
342
343
def notify_all(self):
344
- """Wake up all threads waiting on this condition. This method acts
345
- like notify(), but wakes up all waiting threads instead of one. If the
346
- calling thread has not acquired the lock when this method is called,
+ """Wake up all tasks waiting on this condition. This method acts
+ like notify(), but wakes up all waiting tasks instead of one. If the
+ calling task has not acquired the lock when this method is called,
347
a RuntimeError is raised.
348
"""
349
self.notify(len(self._waiters))
0 commit comments