Commit b21505e7 authored by Andrew Svetlov's avatar Andrew Svetlov Committed by GitHub

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

parent 095ee415
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment