Browse Source

Parameter name fix in documentation userguide

João Ricardo 8 years ago
parent
commit
30f838570e
1 changed files with 1 additions and 1 deletions
  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