瀏覽代碼

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

mozillazg 8 年之前
父節點
當前提交
7b06ba87f5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.