Minor fixes

This commit is contained in:
Nocturn9x 2023-02-21 15:47:22 +01:00
parent e37ffdeb06
commit 646d4a4f93
2 changed files with 1 additions and 2 deletions

View File

@ -644,7 +644,6 @@ class AsyncScheduler:
self.run_ready = deque() self.run_ready = deque()
self.suspended = deque() self.suspended = deque()
def reschedule_joiners(self, task: Task): def reschedule_joiners(self, task: Task):
""" """
Reschedules the parent(s) of the Reschedules the parent(s) of the

View File

@ -43,7 +43,7 @@ class Event:
async def trigger(self, value: Optional[Any] = None): async def trigger(self, value: Optional[Any] = None):
""" """
Sets the event, waking up all tasks that called Sets the event, waking up all tasks that called
pause() on it wait() on it
""" """
if self.set: if self.set: