Explorar el Código

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

Fix variable name in an example in the documentation
Ask Solem Hoel hace 10 años
padre
commit
208f29d411
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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