瀏覽代碼

Fix link in documentation

`~@AsyncResult` results in `mailto:~@AsyncResult` link in the doc instead of a proper link to AsyncResult class

http://docs.celeryproject.org/en/master/reference/celery.app.task.html?highlight=retry#celery.app.task.Task.apply_async
GDR! 7 年之前
父節點
當前提交
2f422c52bd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/app/task.py

+ 1 - 1
celery/app/task.py

@@ -499,7 +499,7 @@ class Task(object):
             headers (Dict): Message headers to be included in the message.
 
         Returns:
-            ~@AsyncResult: Promise of future evaluation.
+            celery.result.AsyncResult: Promise of future evaluation.
 
         Raises:
             TypeError: If not enough arguments are passed, or too many