Selaa lähdekoodia

Canvas guide example fix

Alex Kiriukha 11 vuotta sitten
vanhempi
commit
b8b9efe672
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      docs/userguide/canvas.rst

+ 1 - 1
docs/userguide/canvas.rst

@@ -380,7 +380,7 @@ Here's some examples:
     Chaining a group together with another task will automatically
     upgrade it to be a chord::
 
-        >>> c3 = (group(add.s(i, i) for i in xrange(10) | xsum.s()))
+        >>> c3 = (group(add.s(i, i) for i in xrange(10)) | xsum.s())
         >>> res = c3()
         >>> res.get()
         90