]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46278: fix typo introduced in GH-30427 (GH-30430) (GH-30431)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Jan 2022 14:44:22 +0000 (06:44 -0800)
committerGitHub <noreply@github.com>
Thu, 6 Jan 2022 14:44:22 +0000 (16:44 +0200)
Automerge-Triggered-By: GH:asvetlov
(cherry picked from commit b50e5e916a05df65ab6a255af7624b751e0fe9d1)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Lib/asyncio/events.py

index 58236059f7e2204f36e32ca9ca713312f2a7a1bb..5ab1acc41bf31abac9971d3d0012a9eda55cbeb5 100644 (file)
@@ -259,12 +259,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):