]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix syntax error on Asyncio example in doc (GH-9387)
authorMiguel Ángel García <magmax@users.noreply.github.com>
Tue, 18 Sep 2018 06:01:26 +0000 (08:01 +0200)
committerYury Selivanov <yury@magic.io>
Tue, 18 Sep 2018 06:01:26 +0000 (02:01 -0400)
The `gather` method requires to close the parenthesis, but it is being closed twice.

Doc/library/asyncio-task.rst

index 25a0768aa8dab79116a38f88b8387bbb1ac1e059..d597234383db0dfe9967d9c2055b7599f18d2676 100644 (file)
@@ -238,7 +238,7 @@ Running Tasks Concurrently
               factorial("A", 2),
               factorial("B", 3),
               factorial("C", 4),
-          ))
+          )
 
       asyncio.run(main())