Commit e2da9a79 authored by scoder's avatar scoder

Merge pull request #299 from takluyver/doc-fix-xref

Fix crossref to compiler directives section
parents d1d7d48d 0a0fff6b
...@@ -266,6 +266,8 @@ running session. Please check `Sage documentation ...@@ -266,6 +266,8 @@ running session. Please check `Sage documentation
You can tailor the behavior of the Cython compiler by specifying the You can tailor the behavior of the Cython compiler by specifying the
directives below. directives below.
.. _compiler-directives:
Compiler directives Compiler directives
==================== ====================
......
...@@ -385,7 +385,7 @@ The array lookups are still slowed down by two factors: ...@@ -385,7 +385,7 @@ The array lookups are still slowed down by two factors:
Now bounds checking is not performed (and, as a side-effect, if you ''do'' Now bounds checking is not performed (and, as a side-effect, if you ''do''
happen to access out of bounds you will in the best case crash your program happen to access out of bounds you will in the best case crash your program
and in the worst case corrupt data). It is possible to switch bounds-checking and in the worst case corrupt data). It is possible to switch bounds-checking
mode in many ways, see [:docs/compilerdirectives:compiler directives] for more mode in many ways, see :ref:`compiler-directives` for more
information. information.
Negative indices are dealt with by ensuring Cython that the indices will be Negative indices are dealt with by ensuring Cython that the indices will be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment