summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Ángel García <magmax@users.noreply.github.com>2018-09-18 06:01:26 (GMT)
committerYury Selivanov <yury@magic.io>2018-09-18 06:01:26 (GMT)
commit9c53fa6ad9cd23fb03867b4a1f74264c426c1772 (patch)
treea7e8681d9f8818647fc67462f73180c3847068da
parent7bfbda46f49c0b2c43e128835106cf13315b6ae8 (diff)
downloadcpython-9c53fa6ad9cd23fb03867b4a1f74264c426c1772.zip
cpython-9c53fa6ad9cd23fb03867b4a1f74264c426c1772.tar.gz
cpython-9c53fa6ad9cd23fb03867b4a1f74264c426c1772.tar.bz2
Fix syntax error on Asyncio example in doc (GH-9387)
The `gather` method requires to close the parenthesis, but it is being closed twice.
-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 25a0768..d597234 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -238,7 +238,7 @@ Running Tasks Concurrently
factorial("A", 2),
factorial("B", 3),
factorial("C", 4),
- ))
+ )
asyncio.run(main())