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

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

index db7720abcfedeb432b25d30cdfce910bb76288c4..413ff2aaa6da6f6704f1aec87521804cf22d6671 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):