DOC: Fixed syntax highlighting

This commit is contained in:
Tobias Brandt
2012-11-13 12:21:11 -05:00
committed by Eddie Hebert
parent 0134bbed82
commit 8ff566b5be
+8 -2
View File
@@ -38,7 +38,7 @@ don't.
Compilers Compilers
========= =========
Compatability Compatibility
- Do not use Clang - Do not use Clang
- Do not use GCC-LLVM - Do not use GCC-LLVM
@@ -73,13 +73,17 @@ To build in development ::
Pure C Pure C
====== ======
.. highlight :: c .. highlight:: c
::
#include "Python.h" #include "Python.h"
Releasing the GIL Releasing the GIL
================= =================
:: ::
from libc.stdio cimport printf from libc.stdio cimport printf
with nogil: with nogil:
@@ -98,6 +102,8 @@ really the only way.
Vim Vim
=== ===
.. highlight:: vim
For syntax highlighting in Vim:: For syntax highlighting in Vim::
:set syntax=pyrex :set syntax=pyrex