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

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


https://github.com/python/cpython/commit/b50e5e916a05df65ab6a255af7624b751e0fe9d1
commit: b50e5e916a05df65ab6a255af7624b751e0fe9d1
branch: main
author: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-01-06T05:21:24-08:00
summary:

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



Automerge-Triggered-By: GH:asvetlov

files:
M Lib/asyncio/events.py

diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index 831c19cf0ec68..e3c55b22aace2 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -258,12 +258,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