Browse Source

Clarify AsyncResult.ready docstring (#4038)

Simon Schmidt 7 năm trước cách đây
mục cha
commit
c6ce9557ad
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 0
      CONTRIBUTORS.txt
  2. 1 1
      celery/result.py

+ 1 - 0
CONTRIBUTORS.txt

@@ -236,3 +236,4 @@ Jianjian Yu, 2017/04/09
 Brian May, 2017/04/10
 Dmytro Petruk, 2017/04/12
 Joey Wilhelm, 2017/04/12
+Simon Schmidt, 2017/05/19

+ 1 - 1
celery/result.py

@@ -273,7 +273,7 @@ class AsyncResult(ResultBase):
                     raise IncompleteStream()
 
     def ready(self):
-        """Return :const:`True` if the task started executing.
+        """Return :const:`True` if the task has executed.
 
         If the task is still running, pending, or is waiting
         for retry then :const:`False` is returned.