Skip to content

Commit ee28cd5

Browse files
Fix docs markup for asyncio current_task() and all_tasks() (GH-6089)
(cherry picked from commit b21505e) Co-authored-by: Andrew Svetlov <[email protected]>
1 parent ff5d213 commit ee28cd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/asyncio-task.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ Task functions
535535
not provided, the default event loop is used.
536536

537537

538-
.. function:: current_task(loop=None):
538+
.. function:: current_task(loop=None)
539539

540540
Return the current running :class:`Task` instance or ``None``, if
541541
no task is running.
@@ -546,7 +546,7 @@ Task functions
546546
.. versionadded:: 3.7
547547

548548

549-
.. function:: all_tasks(loop=None):
549+
.. function:: all_tasks(loop=None)
550550

551551
Return a set of :class:`Task` objects created for the loop.
552552

0 commit comments

Comments
 (0)