Explorar el Código

Fixing simple misplaced parenthesis.

Steven Parker hace 9 años
padre
commit
3574d014ca
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      docs/userguide/canvas.rst

+ 2 - 2
docs/userguide/canvas.rst

@@ -911,11 +911,11 @@ while calling ``.apply_async`` will create a dedicated
 task so that the individual tasks are applied in a worker
 instead::
 
-    >>> add.chunks(zip(range(100), range(100), 10)).apply_async()
+    >>> add.chunks(zip(range(100), range(100)), 10).apply_async()
 
 You can also convert chunks to a group::
 
-    >>> group = add.chunks(zip(range(100), range(100), 10)).group()
+    >>> group = add.chunks(zip(range(100), range(100)), 10).group()
 
 and with the group skew the countdown of each task by increments
 of one::