ソースを参照

Fix variable name in an example in the documentation

Emil Stanchev 10 年 前
コミット
3c9e1c626b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      docs/userguide/application.rst

+ 1 - 1
docs/userguide/application.rst

@@ -521,7 +521,7 @@ by changing its :meth:`@Task` attribute:
     >>> app.Task
     <unbound MyBaseTask>
 
-    >>> @x.task
+    >>> @app.task
     ... def add(x, y):
     ...     return x + y