[tasks] Rename Loop.run to Loop.start to avoid blocking connotations

This commit is contained in:
Rapptz
2019-04-11 08:19:32 -04:00
parent b0c7f48caf
commit 10bc939348
2 changed files with 6 additions and 6 deletions

View File

@ -75,8 +75,8 @@ class Loop:
return self._current_loop
def run(self, *args, **kwargs):
r"""Runs the internal task in the event loop.
def start(self, *args, **kwargs):
r"""Starts the internal task in the event loop.
Parameters
------------
@ -93,7 +93,7 @@ class Loop:
Returns
---------
:class:`asyncio.Task`
The task that has been registered.
The task that has been created.
"""
if self._task is not None: