Browse Source

Merge pull request #2389 from emou/fix-doc-typo

Fix variable name in an example in the documentation
Ask Solem Hoel 10 years ago
parent
commit
208f29d411
1 changed files with 1 additions and 1 deletions
  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