[Python-checkins] Fix syntax error on Asyncio example in doc (GH-9387)
Yury Selivanov
webhook-mailer at python.org
Tue Sep 18 02:01:31 EDT 2018
https://github.com/python/cpython/commit/9c53fa6ad9cd23fb03867b4a1f74264c426c1772
commit: 9c53fa6ad9cd23fb03867b4a1f74264c426c1772
branch: master
author: Miguel Ángel García <magmax at users.noreply.github.com>
committer: Yury Selivanov <yury at magic.io>
date: 2018-09-18T02:01:26-04:00
summary:
Fix syntax error on Asyncio example in doc (GH-9387)
The `gather` method requires to close the parenthesis, but it is being closed twice.
files:
M Doc/library/asyncio-task.rst
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 25a0768aa8da..d597234383db 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())
More information about the Python-checkins
mailing list