浏览代码

Parameter name fix in documentation userguide

João Ricardo 8 年之前
父节点
当前提交
30f838570e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/userguide/application.rst

+ 1 - 1
docs/userguide/application.rst

@@ -478,7 +478,7 @@ chain breaks:
         from celery.task import task
 
         @task(queue='hipri')
-        def hello(x):
+        def hello(to):
             return 'hello {0}'.format(to)
 
 Abstract Tasks