Переглянути джерело

Merge branch '3.0'

Conflicts:
	celery/result.py
Ask Solem 12 роки тому
батько
коміт
7c209932b9
2 змінених файлів з 4 додано та 4 видалено
  1. 3 3
      celery/result.py
  2. 1 1
      docs/django/first-steps-with-django.rst

+ 3 - 3
celery/result.py

@@ -364,7 +364,7 @@ class ResultSet(ResultBase):
     def failed(self):
         """Did any of the tasks fail?
 
-        :returns: :const:`True` if any of the tasks failed.
+        :returns: :const:`True` if one of the tasks failed.
             (i.e., raised an exception)
 
         """
@@ -373,7 +373,7 @@ class ResultSet(ResultBase):
     def waiting(self):
         """Are any of the tasks incomplete?
 
-        :returns: :const:`True` if any of the tasks is still
+        :returns: :const:`True` if one of the tasks are still
             waiting for execution.
 
         """
@@ -382,7 +382,7 @@ class ResultSet(ResultBase):
     def ready(self):
         """Did all of the tasks complete? (either by success of failure).
 
-        :returns: :const:`True` if all of the tasks been
+        :returns: :const:`True` if all of the tasks has been
             executed.
 
         """

+ 1 - 1
docs/django/first-steps-with-django.rst

@@ -106,7 +106,7 @@ parts of the Celery documentation.
 
 .. admonition:: Relative Imports
 
-    You have to consistent in how you import the task module, e.g. if
+    You have to be consistent in how you import the task module, e.g. if
     you have ``project.app`` in ``INSTALLED_APPS`` then you also
     need to import the tasks ``from project.app`` or else the names
     of the tasks will be different.