[Python-checkins] bpo-46278: fix typo introduced in GH-30427 (GH-30430)

miss-islington webhook-mailer at python.org
Thu Jan 6 08:51:48 EST 2022


https://github.com/python/cpython/commit/cb0683128b8f413e0f16293752014902d4de4984
commit: cb0683128b8f413e0f16293752014902d4de4984
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-01-06T05:51:44-08:00
summary:

bpo-46278: fix typo introduced in GH-30427 (GH-30430)


Automerge-Triggered-By: GH:asvetlov
(cherry picked from commit b50e5e916a05df65ab6a255af7624b751e0fe9d1)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com>

files:
M Lib/asyncio/events.py

diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index db7720abcfede..413ff2aaa6da6 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -259,12 +259,12 @@ def _timer_handle_cancelled(self, handle):
         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):



More information about the Python-checkins mailing list