[Python-checkins] Fix syntax error on Asyncio example in doc (GH-9387) (GH-9388)

Yury Selivanov webhook-mailer at python.org
Tue Sep 18 02:27:29 EDT 2018


https://github.com/python/cpython/commit/ee2ff1a335b0a59f445959178c5d2a9802c5b3e4
commit: ee2ff1a335b0a59f445959178c5d2a9802c5b3e4
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Yury Selivanov <yury at magic.io>
date: 2018-09-18T02:27:27-04:00
summary:

Fix syntax error on Asyncio example in doc (GH-9387) (GH-9388)

The `gather` method requires to close the parenthesis, but it is being closed twice.
(cherry picked from commit 9c53fa6ad9cd23fb03867b4a1f74264c426c1772)

Co-authored-by: Miguel Ángel García <magmax at users.noreply.github.com>

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

diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 9ca0dcd7f57c..2753998745ef 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -232,7 +232,7 @@ Running Tasks Concurrently
               factorial("A", 2),
               factorial("B", 3),
               factorial("C", 4),
-          ))
+          )
 
       asyncio.run(main())
 



More information about the Python-checkins mailing list