Browse Source

Update tasks.rst (#5070)

Guilherme Caminha 6 năm trước cách đây
mục cha
commit
fc7a48bc2e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 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.
 Both the exception and the traceback will
 be available in the task state (if a result backend is enabled).