Przeglądaj źródła

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

mozillazg 9 lat temu
rodzic
commit
7b06ba87f5
1 zmienionych plików z 1 dodań i 1 usunięć
  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.