Просмотр исходного кода

Merge pull request #3321 from joaoricardo000/patch-2

Parameter name fix in documentation userguide
Ask Solem 8 лет назад
Родитель
Сommit
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