From f44ac3fc05ab7d1c5676bafca0db31ea136f43b3 Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Mon, 24 Feb 2025 15:11:45 +0000 Subject: [PATCH] pure python --- Lib/asyncio/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 7f7ee81403a759..06d46deda8d647 100644 --- a/Lib/asyncio/tasks.py +++ b/Lib/asyncio/tasks.py @@ -110,7 +110,7 @@ def __init__(self, coro, *, loop=None, name=None, context=None, self.__eager_start() else: self._loop.call_soon(self.__step, context=self._context) - _register_task(self) + _py_register_task(self) def __del__(self): if self._state == futures._PENDING and self._log_destroy_pending: