Selaa lähdekoodia

Merge pull request #3321 from joaoricardo000/patch-2

Parameter name fix in documentation userguide
Ask Solem 8 vuotta sitten
vanhempi
commit
739f6c942e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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