소스 검색

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