瀏覽代碼

Docs: Fixes missing codeblock type

Ask Solem 8 年之前
父節點
當前提交
d58c4406e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/whatsnew-4.0.rst

+ 1 - 1
docs/whatsnew-4.0.rst

@@ -603,7 +603,7 @@ You can disable the argument checking for any task by setting its
 Or if you would like to disable this completely for all tasks
 Or if you would like to disable this completely for all tasks
 you can pass ``strict_typing=False`` when creating the app:
 you can pass ``strict_typing=False`` when creating the app:
 
 
-.. code-block::
+.. code-block:: python
 
 
     app = Celery(..., strict_typing=False)
     app = Celery(..., strict_typing=False)