Browse Source

docs: Fix some gramatical and typographic errors

Allan Caffee 14 năm trước cách đây
mục cha
commit
8a657a4bc1
3 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 1 1
      FAQ
  2. 4 4
      docs/userguide/executing.rst
  3. 1 1
      docs/userguide/workers.rst

+ 1 - 1
FAQ

@@ -168,7 +168,7 @@ most systems), it usually contains a message describing the reason.
 Why won't celeryd run on FreeBSD?
 ---------------------------------
 
-**Answer:** multiprocessing.Pool requires a working POSIX semaphore
+**Answer:** multiprocessing. Pool requires a working POSIX semaphore
 implementation which isn't enabled in FreeBSD by default. You have to enable
 POSIX semaphores in the kernel and manually recompile multiprocessing.
 

+ 4 - 4
docs/userguide/executing.rst

@@ -36,7 +36,7 @@ available as attributes on the `Task` class (see :ref:`task-options`).
 In addition you can set countdown/eta, task expiry, provide a custom broker
 connection and more.
 
-Let's go over these in more detail.  All the examples uses a simple task,
+Let's go over these in more detail.  All the examples use a simple task,
 called `add`, taking two positional arguments and returning the sum:
 
 .. code-block:: python
@@ -97,7 +97,7 @@ Expiration
 
 The `expires` argument defines an optional expiry time,
 either as seconds after task publish, or a specific date and time using
-:class:~datetime.datetime`:
+:class:`~datetime.datetime`:
 
 .. code-block:: python
 
@@ -186,7 +186,7 @@ to use when sending a task:
     3. The default :setting:`CELERY_TASK_SERIALIZER` setting.
 
 
-*Using the `serializer` argument to `apply_async`*:
+* Using the `serializer` argument to `apply_async` *:
 
 .. code-block:: python
 
@@ -224,7 +224,7 @@ publisher:
 
 .. note::
 
-    This particularly example is better expressed as a task set.
+    This particular example is better expressed as a task set.
     See :ref:`sets-taskset`.  Tasksets already reuses connections.
 
 

+ 1 - 1
docs/userguide/workers.rst

@@ -135,7 +135,7 @@ Time limits can also be set using the :setting:`CELERYD_TASK_TIME_LIMIT` /
 
 .. note::
 
-    Time limits does not currently work on Windows.
+    Time limits do not currently work on Windows.
 
 .. _worker-maxtasksperchild: