From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 18 Sep 2018 06:27:27 +0000 (-0700) Subject: Fix syntax error on Asyncio example in doc (GH-9387) (GH-9388) X-Git-Tag: v3.7.1rc1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2ff1a335b0a59f445959178c5d2a9802c5b3e4;p=thirdparty%2FPython%2Fcpython.git 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 --- 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())