]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46278: fix typo introduced in GH-30427 (GH-30430)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Thu, 6 Jan 2022 13:21:24 +0000 (18:51 +0530)
committerGitHub <noreply@github.com>
Thu, 6 Jan 2022 13:21:24 +0000 (05:21 -0800)
Automerge-Triggered-By: GH:asvetlov
Lib/asyncio/events.py

index 831c19cf0ec683b234a6c04f7582096ef5425dc2..e3c55b22aace24fb480e4134852986edb09b1b8f 100644 (file)
@@ -258,12 +258,12 @@ class AbstractEventLoop:
         raise NotImplementedError
 
     def call_soon(self, callback, *args, context=None):
-        return self.call_later(0, callback, *args)
+        return self.call_later(0, callback, *args, context=context)
 
     def call_later(self, delay, callback, *args, context=None):
         raise NotImplementedError
 
-    def call_at(self, when, callback, *args, cotext=None):
+    def call_at(self, when, callback, *args, context=None):
         raise NotImplementedError
 
     def time(self):