mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-11 12:00:50 +08:00
DOC: Fixed syntax highlighting
This commit is contained in:
committed by
Eddie Hebert
parent
0134bbed82
commit
8ff566b5be
+8
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user