소스 검색

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

Alex Zaitsev 7 년 전
부모
커밋
83872030b0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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,