mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 23:37:55 +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
|
||||
=========
|
||||
|
||||
Compatability
|
||||
Compatibility
|
||||
|
||||
- Do not use Clang
|
||||
- Do not use GCC-LLVM
|
||||
@@ -73,13 +73,17 @@ To build in development ::
|
||||
Pure C
|
||||
======
|
||||
|
||||
.. highlight :: c
|
||||
.. highlight:: c
|
||||
|
||||
::
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
Releasing the GIL
|
||||
=================
|
||||
|
||||
::
|
||||
|
||||
from libc.stdio cimport printf
|
||||
|
||||
with nogil:
|
||||
@@ -98,6 +102,8 @@ really the only way.
|
||||
Vim
|
||||
===
|
||||
|
||||
.. highlight:: vim
|
||||
|
||||
For syntax highlighting in Vim::
|
||||
|
||||
:set syntax=pyrex
|
||||
|
||||
Reference in New Issue
Block a user