Ver Fonte

Update tasks.rst (#5070)

Guilherme Caminha há 6 anos atrás
pai
commit
fc7a48bc2e
1 ficheiros alterados com 1 adições e 1 exclusões
  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).