Browse Source

Fixed wrong value in example of celery chain (#4444)

Alex Zaitsev 7 years ago
parent
commit
83872030b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/userguide/canvas.rst

+ 2 - 2
docs/userguide/canvas.rst

@@ -491,10 +491,10 @@ returns successfully:
 
     >>> res = add.apply_async((2, 2), link=mul.s(16))
     >>> res.get()
-    4
+    64
 
 The linked task will be applied with the result of its parent
-task as the first argument. In the above case where the result was 4,
+task as the first argument. In the above case where the result was 64,
 this will result in ``mul(4, 16)``.
 
 The results will keep track of any subtasks called by the original task,