[Python-checkins] Fix docs markup for asyncio current_task() and all_tasks() (GH-6089)

Miss Islington (bot) webhook-mailer at python.org
Mon Mar 12 15:12:12 EDT 2018


https://github.com/python/cpython/commit/ee28cd57df3b8fca66d41528bd4b8341aad26f57
commit: ee28cd57df3b8fca66d41528bd4b8341aad26f57
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-03-12T12:12:05-07:00
summary:

Fix docs markup for asyncio current_task() and all_tasks() (GH-6089)

(cherry picked from commit b21505e7109bafe75d87ab63d524b4e749157dbd)

Co-authored-by: Andrew Svetlov <andrew.svetlov at gmail.com>

files:
M Doc/library/asyncio-task.rst

diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 485e1b843d08..364323d5ca8b 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -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.
 



More information about the Python-checkins mailing list