Przeglądaj źródła

Fixes typo in docs, thanks to anh. Closes #697

Ask Solem 13 lat temu
rodzic
commit
6429231537
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/whatsnew-2.6.rst

+ 1 - 1
docs/whatsnew-2.6.rst

@@ -176,7 +176,7 @@ Tasks can now have callbacks and errbacks, and dependencies are recorded
         >>> from celery import chain
 
         # (2 + 2) * 8 / 2
-        >>> res = chain(add.subtask((4, 4)),
+        >>> res = chain(add.subtask((2, 2)),
                         mul.subtask((8, )),
                         div.subtask((2,))).apply_async()
         >>> res.get() == 16