aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/tasks.py')
-rw-r--r--Lib/asyncio/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py
index 7f7ee81403a..06d46deda8d 100644
--- a/Lib/asyncio/tasks.py
+++ b/Lib/asyncio/tasks.py
@@ -110,7 +110,7 @@ class Task(futures._PyFuture): # Inherit Python Task implementation
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: