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.
2 parents e12cb28 + 58fdb16 commit 13196b4Copy full SHA for 13196b4
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