Browse Source

Update calling.rst

Fixed typo variable on example code of Connections.
Conflicts:
	docs/userguide/calling.rst
Kouhei Maeda 11 years ago
parent
commit
6bcd507e5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/userguide/calling.rst

+ 1 - 1
docs/userguide/calling.rst

@@ -447,7 +447,7 @@ Though this particular example is much better expressed as a group:
     >>> from celery import group
 
     >>> numbers = [(2, 2), (4, 4), (8, 8), (16, 16)]
-    >>> res = group(add.s(n) for n in numbers).apply_async()
+    >>> res = group(add.s(i) for i in numbers).apply_async()
 
     >>> res.get()
     [4, 8, 16, 32]