浏览代码

Corrected some ReST tags

Gert Van Gool 15 年之前
父节点
当前提交
57e021712b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      celery/platform.py
  2. 1 1
      docs/userguide/tasks.rst

+ 1 - 1
celery/platform.py

@@ -50,7 +50,7 @@ def install_signal_handler(signal_name, handler):
 def set_process_title(progname, info=None):
 def set_process_title(progname, info=None):
     """Set the ps name for the currently running process.
     """Set the ps name for the currently running process.
 
 
-    Only works if :mod`setproctitle` is installed.
+    Only works if :mod:`setproctitle` is installed.
 
 
     """
     """
     proctitle = "[%s]" % progname
     proctitle = "[%s]" % progname

+ 1 - 1
docs/userguide/tasks.rst

@@ -198,7 +198,7 @@ Task options
 * max_retries
 * max_retries
 
 
     The maximum number of attempted retries before giving up.
     The maximum number of attempted retries before giving up.
-    If this is exceeded the :exc`~celery.exceptions.MaxRetriesExceeded`
+    If this is exceeded the :exc:`~celery.exceptions.MaxRetriesExceeded`
     exception will be raised. Note that you have to retry manually, it's
     exception will be raised. Note that you have to retry manually, it's
     not something that happens automatically.
     not something that happens automatically.