Browse Source

Update tasks.rst (#5070)

Guilherme Caminha 7 years ago
parent
commit
fc7a48bc2e
1 changed files with 1 additions and 1 deletions
  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).