Browse Source

Fixed swapped parentheses and square brackets in the break down of the chord example.

Jesse 13 years ago
parent
commit
d4bc2ba951
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/userguide/tasksets.rst

+ 1 - 1
docs/userguide/tasksets.rst

@@ -212,7 +212,7 @@ as synchronization is a required step for many parallel algorithms.
 Let's break the chord expression down::
 
     >>> callback = tsum.subtask()
-    >>> header = [add.subtask((i, i)) for i in xrange(100])
+    >>> header = [add.subtask((i, i)) for i in xrange(100)]
     >>> result = chord(header)(callback)
     >>> result.get()
     9900