summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-17 23:27:27 -0700
committerYury Selivanov <yury@magic.io>2018-09-18 02:27:27 -0400
commitee2ff1a335b0a59f445959178c5d2a9802c5b3e4 (patch)
tree5a86925d163cad62f9d4bf721671c10313bcc6c7
parent9a89fd688445d10c1fd1aed589643d8266f08b1e (diff)
downloadcpython-git-ee2ff1a335b0a59f445959178c5d2a9802c5b3e4.tar.gz
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@users.noreply.github.com>
-rw-r--r--Doc/library/asyncio-task.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 9ca0dcd7f5..2753998745 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())