瀏覽代碼

Merge pull request #3321 from joaoricardo000/patch-2

Parameter name fix in documentation userguide
Ask Solem 8 年之前
父節點
當前提交
739f6c942e
共有 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