Просмотр исходного кода

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

mozillazg 10 лет назад
Родитель
Сommit
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.