From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 6 Jan 2022 14:44:22 +0000 (-0800) Subject: bpo-46278: fix typo introduced in GH-30427 (GH-30430) (GH-30431) X-Git-Tag: v3.10.2~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=861a9aaf0f517623c58ca4eb5588804b2632fcba;p=thirdparty%2FPython%2Fcpython.git bpo-46278: fix typo introduced in GH-30427 (GH-30430) (GH-30431) 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> --- diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index 58236059f7e2..5ab1acc41bf3 100644 --- a/Lib/asyncio/events.py +++ b/Lib/asyncio/events.py @@ -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):