Browse Source

Fix code in userguide/tasks.rst (#3467)

mozillazg 8 years ago
parent
commit
7b06ba87f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/userguide/tasks.rst

+ 1 - 1
docs/userguide/tasks.rst

@@ -1631,7 +1631,7 @@ re-fetch the article in the task body:
 
 
 .. code-block:: pycon
 .. code-block:: pycon
 
 
-    >>> expand_abbreviations(article_id)
+    >>> expand_abbreviations.delay(article_id)
 
 
 There might even be performance benefits to this approach, as sending large
 There might even be performance benefits to this approach, as sending large
 messages may be expensive.
 messages may be expensive.