浏览代码

Fix variable name in an example in the documentation

Emil Stanchev 10 年之前
父节点
当前提交
aac0bd4e3b
共有 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