浏览代码

Update tasks.rst (#5070)

Guilherme Caminha 6 年之前
父节点
当前提交
fc7a48bc2e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/userguide/tasks.rst

+ 1 - 1
docs/userguide/tasks.rst

@@ -647,7 +647,7 @@ Here's an example using ``retry``:
 The bind argument to the task decorator will give access to ``self`` (the
 The bind argument to the task decorator will give access to ``self`` (the
 task type instance).
 task type instance).
 
 
-The ``exc`` method is used to pass exception information that's
+The ``exc`` argument is used to pass exception information that's
 used in logs, and when storing task results.
 used in logs, and when storing task results.
 Both the exception and the traceback will
 Both the exception and the traceback will
 be available in the task state (if a result backend is enabled).
 be available in the task state (if a result backend is enabled).