Fix docs markup for asyncio current_task() and all_tasks() (#6089)

This commit is contained in:
Andrew Svetlov 2018-03-12 20:50:50 +02:00 committed by GitHub
parent 095ee415ce
commit b21505e710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -535,7 +535,7 @@ Task functions
not provided, the default event loop is used.
.. function:: current_task(loop=None):
.. function:: current_task(loop=None)
Return the current running :class:`Task` instance or ``None``, if
no task is running.
@ -546,7 +546,7 @@ Task functions
.. versionadded:: 3.7
.. function:: all_tasks(loop=None):
.. function:: all_tasks(loop=None)
Return a set of :class:`Task` objects created for the loop.